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.

Tuesday, February 14, 2012

FontType 1.1 Release Notes and Future Plans

FontType version 1.1 was released on Apple AppStore on Monday. Official release note contains iOS5 compatibility, font metrics view and undefined fixes under the hood. Apple used 4 hours for the review (according to push notifications via iTC Mobile app), wonder what they were doing.

Biggest change is internal, out-of-sight, thanx to the objc_dep dependency graph tool. As you can see (in this linked article) the version 1.0 architecture was a bit dodgy, me coding at nights half asleep and during 15 minute breaks desperately trying to recall what the frak was I doing between constant context switches.

Monday, February 6, 2012

Icon dimensions (0x0) don't meet the the size requirements

Got a weird warning while validating my FontType 1.1 update at the weekend:
iPhone/iPod Touch: Icon dimensions (0x0) don't meet the the size requirements. The icon file must be 57x57 pixels, in .png format
Icon was just fine, so it's unclear what this means. However there are two theories: a) latest Apple iOS update messed up something or b) Apple iTunes Connect server has some issues.

Friday, February 3, 2012

How to Get Magnifying Glass into UITableView Index

If your app contains a list, you might want to considere adding an index bar at right side of the screen. If your list supports search, you might want to add a magnifying glass at top of the index (similar to built-in Contacts application).

Ok, so how do you do that?

Good news is that it's really simple - as soon as you figure it out once. Check Apple iOS SDK for UITableView Class Rerefence and you'll find: