Found on GitHub: PrettyTimestamps

Found on GitHub: PrettyTimestamps

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...
Mixing Inferred and Custom Core Data migrations

Mixing Inferred and Custom Core Data migrations

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...
Restoring iOS App State After an Upgrade

Restoring iOS App State After an Upgrade

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...

First Impressions from Apple’s WWDC Keynote

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...