content top

Easy Debugging with ASIHTTPRequest

Just wrote this quick and dirty method that dumps a ASIHTTPReqeust on console as a curl command. You can add it to your project as a category extension on ASIHTTPRequest or on a subclass (if you have one). 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24   -(NSString*) description { __block NSMutableString *displayString = [NSMutableString stringWithFormat:@"\nRequest\n-------\ncurl -X %@",...

Read More

A request to fellow iOS/Mac developers

A request to fellow iOS/Mac developers

Steve Jobs 1955-2011 Today, the world lost the most visionary human being of the century. Steve Jobs has been battling pancreatic cancer for around 8 years and finally succumbed to it today merely hours after the iPhone 4S announcement. Steve Jobs has been the man behind me and most of our career. The smart phone revolution spurred by iPhone and the dawning of the new era of iOS app development had made a career for me and most of...

Read More

In App Purchases: Troubleshooting Code=0 “Cannot connect to iTunes Store” (SKErrorUnknown)

When using MKStoreKit or any other equivalent framework or regular In App Purchases’ StoreKit.framework, If you are getting a problem like this, Cannot connect to iTunes Store Code: Error code: 0   Error code 0 is SKErrorUnknown. It probably means connection couldn’t be established from your device to Apple. The number one reason for this is, you are using a jailbroken iPad that updated the hosts file to block traffic to...

Read More

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

Using 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 More
Page 10 of 26« First (1)...89101112...20...Last »
content top