Targets are an extremely yet totally undocumented feature of Xcode. They allow you to write code once, and then build multiple “versions” of the same code base. This makes maintenance and code...
Learn MoreI’ve often wondered how to use those efficiently, and I’ve just found out how to do it. As always, they’re not difficult to implement – but not documented in a way that simple folk...
Learn MoreHere’s how we check that: // if we're an iPad if ([[UIDevice currentDevice]userInterfaceIdiom] == UIUserInterfaceIdiomPad) { // do some iPad or iPad Mini specific stuff } else { // we're on...
Learn MoreYou can hide (and show) navigation bars and toolbars from your UINavigationController with extremely funky animations, much like we see in the Photos app on iOS. In the app, when you single-tap the screen,...
Learn MoreI’ve just found that passing an NSManagedObjectContext object via a segue in iOS 5 doesn’t work: the property remains empty. In iOS 6 on the other hand this isn’t a problem: the context...
Learn More