Jon Hocking recently released a simple category on NSDate that generates relative timestamps such as "3 hours ago" or "2 days ago" from an NSDate instance. The code is available on GitHub at jonhocking/PrettyTimestamp and is available as a CocoaPod...
Migrating between Core Data models is simple – until you need to make changes more complex than adding an entity or attribute. A migration step like deriving data from two columns for a new attribute (such as combining firstName and lastName into normalizedName for...
With the advent of new Chrome Experiments such as Maze and RollIt, we’ve been discovering a new way of HTML5 gaming – using our smartphones as controllers to play browser games. While this seems quite magical up front, the inner workings are actually quite...
When implementing view state preservation in an iOS app, it’s important to handle the case of restoring state after an app upgrade. The iOS state preservation APIs automatically encode the restoration IDs of view controllers in order to recreate those...
A new iOS release has been announced, and before the echo of the carefully selected exit music has stopped reverberating in Moscone West the pundits have already tweeted, posted and blogged their opinions. This is the sport of being an Apple fan. Has form outpaced...