content top

iPhone Tutorial: How to send In-App SMS

Officially, iPhone OS 4 is out of NDA and I can’t write a post on this. If you have been reading my blogs, you might already know how to send a in-app email Sending a in-app SMS is very similar to this, but with subtle differences. Prior to iPhone OS 4, developers have to depend on [[UIApplication sharedApplication] openURL: @"sms:12345678"];[[UIApplication sharedApplication] openURL:...

Read More

iPhone Tutorial: Elegant way to send formatted In-App email

By now, most of you know how to send emails using the Message UI framework without quitting the app. In this tutorial, we will briefly discuss the techniques for sending a HTML formatted email with user generated content. Though sending a HTML formatted email is as easy as setting the option to HTML [picker setMessageBody:emailBody isHTML:YES];[picker setMessageBody:emailBody isHTML:YES]; There are some cases that this method...

Read More

iPhone Tutorial: Follow Cost API and a open source wrapper

What is Follow Cost? Follow Cost is a interesting and powerful statistic that helps you check the “cost” you would incur by “following” a person on twitter. This is a very useful statistic that I think every twitter client should adopt.  Tweetie for iPhone was the first to implement follow cost and I use this feature of tweetie to check whether a follower is “worth the pain” (as follow cost puts it). In...

Read More

iPhone Tutorial – Enabling reviewers to use your In-App purchases for free

iPhone Tutorial – Enabling reviewers to use your In-App purchases for free

Update: MKStoreKit 3.0, an updated version of the one presented here is available. Please check it out and use 3.0 instead of this. 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...

Read More

iPhone 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 More

iPhone Tutorial – In-App Purchases

iPhone Tutorial – In-App Purchases

Update: MKStoreKit 4.0, an updated version of the one presented here is available. Please check it out and use 4.0 instead of this. Update: A Chinese translation is available here. 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...

Read More
content top