In-App purchases is a great way for developers to upsell by giving away their app for free and then allow them to charge for features when users start using it. This freemium model has indeed worked very well for upselling your app in the AppStore. But unfortunately, there isn’t an Apple allowed way to allow reviewers to “download” your in-app purchases for free (like giving away promotional codes for your in-app...
Read MoreiPhone Tutorial – UISearchDisplayController with NSPredicate
Though UISearchDisplayController is seemingly easy (and yes it’s easy), apart from the sample source code, there isn’t much documentation available from Apple. I won’t be posting code for this tutorial, (as most of them come from Apple’s own source code), however, the tutorial will contain code fragments that I wish to highlight and those I changed for improving the search using NSPredicate Step 1: Create the...
Read MoreiPhone Tutorial – In-App Purchases
Last week, Apple announced that in-app purchases will be available for free apps as well. This could probably free developers from creating “lite” and “pro” versions of the app and allow developers to “unlock” features inside the app and create business models that the AppStore haven’t seen. This model could be a great boon for developers like us to upsell our apps (provided they are of good...
Read Morebit.ly wrapper for Objective-C/iPhone
Continuing from my part 1, in this section, we will discuss about how to use this helper in your own application. Source Code Download the source code here MKBitlyHelper 1.0.zip Documentation With just three lines of code, you can shorten your URL using this wrapper. Initialize the helper class with your loginname and apikey. bitlyHelper = [[MKBitlyHelper alloc] initWithLoginName:@"yourlogin"...
Read MoreFormatting Dates relative to Now – Objective C (iPhone)
Many a times, in an iPhone application, you might need to format the date relative to today. This code snippet will help you do it. + (NSString *) formattedDateRelativeToNow:(NSDate *)date { NSDateFormatter *mdf = [[NSDateFormatter alloc] init]; [mdf setDateFormat:@"yyyy-MM-dd"]; NSDate *midnight = [mdf dateFromString:[mdf stringFromDate:date]]; [mdf...
Read More