content top

Supporting the iPhone 5

Supporting the iPhone 5

Update: A Russian translation available at osxdev.ru here iPhone 5 is out and it poses a new challenge to developers, a bigger screen. iOS developers have never been required to support multiple device resolutions in the past. But fret not, Apple has made things easy for us. Follow the four steps below and you are all set. Step 1: iPhone 5 requires a new instruction set, the armv7s. Only the latest Xcode, version 4.5 as on writing supports...

Read More

iOS 6 Programming Pushing the Limits

Update As on 16th November, this book is published. More details here. The iOS 5 Programming Pushing the Limits book by Rob and I has been one of the successful of iOS Programming books. It covered the advanced techniques that most developers don’t find online on blogs, tutorial sites (including mine) or Stackoverflow. Today, I’m pleased to announce that work for the second edition is complete and it will be published by Wiley...

Read More

iOS Tip: Informing the user of your intent to use their data

iOS Tip: Informing the user of your intent to use their data

I showed you previously how to let the user know why you require their location in one of the previous blog posts. Apple added similar access dialogs for Contacts, Reminders, Calendars and Photos in iOS 6. If you ever use anyone of these services in your app, you should set a usage description text string in your Info.plist file that explains the user why you need access to the requested information. Along with this change, the purpose...

Read More

Introducing MKFoundation. Say hello to the Objective-C runtime

On most of the apps I develop, I usually have my own foundation classes, MKViewController, MKButton, MKLabel, MKThis and MKThat. One of the most often used/abused class is the MKObject class. This is the burial ground for methods that don’t fit elsewhere. MKObject is a subclass of NSObject that adds convenient methods that I believe should be provided by Apple themselves. I wrote some methods, categories on MKObject that would allow...

Read More

Avoiding merge conflicts with Storyboards

With iOS 5 gaining traction, most of you have already moved to iOS 5+ in your apps. This means, you would have explored UIStoryboard and might have migrated some parts of the User Interface from nib files to Storyboards. The problem Storyboards have a rather annoying problem when you work as a team. When you create a new application (choosing the “Use Storyboards” option), Xcode creates a project with one Storyboard for the...

Read More
Page 4 of 26« First (1)...23456...1020...Last »
content top