If you have an open source library that requires Automatic Reference Counting (ARC), you may have issues with your users trying to build it without ARC turned on. Luckily, it’s pretty simple to enforce ARC. I’m going to discuss how to do so, and why it’s a good idea.
Month: September 2012
How to avoid starting view controllers in the wrong orientation on startup
This is a bit obscure, but I ran into it earlier this week. Why would a view controller appear in the wrong orientation on startup?
Objective-C Feature Availability Index
Which modern Objective-C feature can you use where? Check the Objective-C Feature Availability Index (via 0xced).
You don’t have to have 16:9 on day 1
You don’t have to build with armv7s right away. And despite user demands, you also don’t have to support 16:9 right away either. It’s fine to get real hardware into your hands. More than fine; it’s being responsible. Apple has you covered with letter boxing; let the 16:9 screen be their problem until you’re really… Continue reading You don’t have to have 16:9 on day 1
Do not release ARMv7s code until you have tested it
Apple defaults your projects to including ARMv7s code. But unless you can test it, turn it off. There’s nothing wrong with shipping ARMv7 code for a little while longer.
ADC incidents
In the past, I’ve tried to avoid using ADC incidents. You get two a year per program, and most years I’ve avoided using any. This year, I decided to use them both the iOS ones up before renewing.
Don’t write viewDidUnload
A lot of people misunderstand the point of viewDidUnload. That’s because despite the name that implies otherwise, it is not the counterpart of viewDidLoad.