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 MoreiOS 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 MoreSoftware philosophy: Release early, release often vs polished releases
Release early, release often is a philosophy where you release the product as soon as possible and rapidly iterate it to perfection by listening to your customers. A polished release, on the other hand is where your product, in its initial version is solid, lacks obvious bugs and has just enough features to satisfy a majority of your consumers. Most software companies adopt either one of this and that choice is not superficial. In fact, it...
Read MoreSingleton ain’t bad after all
On the Inter-webs, it’s very easy to find a piece of code that abuses singletons or a blog post that bitches why singletons are bad. Trust me, singletons are not bad. A singleton is a double edged sword. It’s up to you to use it the way it was intended to be used. In this post, I’ll talk about some often encountered problems where singletons are used in a wrong way and then provide you suggestions on how to overcome...
Read MoreUsing MKStoreKit in your apps
MKStoreKit, as you probably know is a framework for implementing In App Purchases in your app. It supports virtually every feature you could tell and every business model you could (or even Lodsys) ever think of. It supports, Auto-renewable subscriptions, Consumables, non-renewable subscriptions, and good old non-consumables and a whole lot others. The biggest gripe among the developer community is that there is no easy to use, step by step...
Read MoreMKStoreKit 4.0 – Supporting Auto Renewable Subscriptions
MKStoreKit started off in a pet project a couple of years ago and I wrote the first version in 2009. Since then, it has seen tremendous adoption rates that, it has been the “go-to” framework for implementing In-App purchases in any iOS app today. On iOS 4.3, Apple added a new type of subscription framework called, auto-renewable subscriptions. Today, I’m adding this support to MKStoreKit along with several new features. If...
Read More