Thursday, May 31, 2012

You do not have the required file permissions

We exchange project files over a shared git repo on remote server and somehow I just lost write access to some files:

Error cleaning build folder
You do not have the required file permissions

Thursday, May 24, 2012

Server API change from HTTP to HTTPS

Doing an iOS client for business service, where client communicates with server to read and update certain undisclosured business data. Current development API is using HTTP with dummy test data, but real service will use HTTPS once everything has been validated to be safe and secure.

Client connectivity change from HTTP to HTTPS was done basically by adding (only) this code:

Monday, May 14, 2012

How to Remove Unused Parameter Warning - part 2

I still believe in no-warnings coding policy. Old problem, new solution.

Code warnings are often signs of real problems and have to be checked each and all. Many times you can rewrite the code in a better way, but sometimes that's not possible. For example generic protocol API offers method parameters, which are not needed in certain cases. You get the "Unused Parameter" warning.

What to do?