content top

Migrating your code to Objective-C ARC

Migrating your code to Objective-C ARC

Recently, Apple introduced several new developer stuff including Xcode 4, ARC, LLVM Compiler 3.0 and iOS 5. From some of the questions on Stack overflow, I could understand that, most of the ARC related confusions arise due to the fact that, developers don’t know if “ABC” is a feature/restriction of LLVM 3.0 or iOS 5 or ARC. Retain cycles, auto-release pools, @autorelease blocks, oh man! So many new things? What am I going...

Read More

iOS Tutorial: Advanced Networking with MKNetworkKit

Couple of weeks ago, I wrote a clean, fast networking toolkit for iOS and Mac written for the LLVM Compiler 3.0 with ARC. Reception was very good that it was the “most-watched” repository on Github last week. Early adopters have sent me innumerable emails on how fast their network operations are, and how responsive their app is after integrating MKNetworkKit. MKNetworkKit is faster (and it makes your app feel smoother and faster...

Read More

iOS Framework: Introducing MKNetworkKit

How awesome would it be if a networking framework automatically takes care of caching responses for you? How awesome would it be if a networking framework automatically remembers your operations when your client is offline? You favorite a tweet or mark a feed as read when you are offline and the Networking Framework performs all these operations when the device comes back online, all with no extra coding effort from you. Introducing...

Read More

iOS Code: MKiCloudSync – Sync your NSUserDefaults to iCloud with a single line of code

iOS Code: MKiCloudSync – Sync your NSUserDefaults to iCloud with a single line of code

Just wrote this class, MKiCloudSync (100 lines of code) that auto syncs your NSUserDefaults to iCloud. How to use? All you need to do is to enable iCloud key value store entitlements, copy the files and forget about the rest. Step 1: Enable iCloud entitlements for your app. This is easily done in Xcode 4.2.1 by opening your target settings and checking “Enable Entitlements” from the summary tab. This is illustrated...

Read More

Introducing my book: iOS 5 Programming Pushing the Limits

Introducing my book: iOS 5 Programming Pushing the Limits

iOS 5 Programming: Pushing the Limits iOS 5 Programming Pushing the Limits Developing Extraordinary Mobile Apps for Apple iPhone, iPad, and iPod Touch I’m pleased to announce that I’ve completed my book on advanced iOS 5 programming. The book will be published by Wiley later this year and is available for pre-order from amazon. I co-authored this book with Rob Napier and we started working on this around 6 months ago. Bulk of...

Read More
content top