Thursday, May 31, 2012

You do not have the required file permissions

Project I am working with got so seriously delayed that management decided to add another developer to "speedup" things. Originally I inherited a demo project maintenance and got the assignment to complete it.

You got to do what you got to do. Piece of cake, of course! Well, things got a bit complicated.

Thursday, May 24, 2012

Server API change from HTTP to HTTPS

Doing (yet another) 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?

Saturday, March 31, 2012

How to Create ZIP Archive with Password in Mac

Sending customer source codes over email, need to apply basic security measures. It's not a top secret project, software has already been released for another platform and the codes are basically just for a fully functional demo app.

No need to send a secret agent carrying encrypted SSD disk embedded inside his skull.

Thursday, March 8, 2012

Font Changes in iOS 5.1 - AppleGothic

Apple iOS 5.1 was released late last evening (local time in Finland), as part of the "new iPad" announcement. Naturally I installed it right away and checked what FontType utility app tells me.

Apple has removed AppleGothic and added two Apple SD Gothic Neo fonts.

Update: I've been told these are Korean fonts, so I generated sample texts in Korean. I believe the text is supposed to mean "On this Day" or something like that.

Other iOS fonts are still same as in iOS 5.0.1 (see also: "New Fonts in iOS 5.0 - and Some Missing").

AppleGothic screenshots below:

Tuesday, February 28, 2012

Could not load the image referenced from a nib in the bundle with identifier

Just make sure your files are where you (your project file) thinks they are.
myApp[12345:678] Could not load the "image.png" image referenced from a nib in the bundle with identifier "com.company.app"
Check for filenames in red (at left), indicating that somehow some file became unknown. Maybe you were moving files around in Finder, were you? Of course you were, you silly bugger!

Friday, February 24, 2012

Quality Icons for Your Quality App

What is the best way to use your time right now? What is the most profitable way to spend your time right now?

Would guess it's not something like delaying the launch of your latest greatest application just to finetune UITabBar icons by yourself. How much do you lose income in a day by doing that?

Seriously. Some people are good at design, some good at coding, some at graphics. Most are not, but still keep trying to do everything by themselves.