Archive for the “Networking” category
How to Parse an NSURL Object
by John Muchow on May 23, 2011
When working with NSURL objects, often times there are a number of values passed along with the URL. For example, a query string is often included as a means to embed HTML form data. This tip shows how to parse (…)
A Better URL Encoding Method
by John Muchow on May 3, 2011
stringByAddingPercentEscapesUsingEncoding leaves a little to be desired when it comes to encoding strings for use in a URL. This trick shows how to properly encode a string.
Push Notifications for Ad Hoc Distributions
by John Muchow on December 28, 2010
Here’s a quick one that may save you some time..once you have push notifications working on a development device and it’s time to create an Ad Hoc build for others to deploy and test your app, on the Apple Developer (…)
HTTP Basic Authentication – Accessing Password Protected Servers
by John Muchow on August 25, 2010
It’s not uncommon for a server to require credentials for access. A common example is a password protected directory on a web-server that will prompt for a username and password before allowing access. When using a NSURLRequest object to access (…)
Post to a Twitter Account from the iPhone
by John Muchow on November 15, 2009
This is the third tip in a series of four that is based on content from the O’Reilly book Head First iPhone Development. This tip is from a code sample in Chapter 3 – Objective-C for the iPhone, and shows (…)
iPhone JSON Flickr Tutorial – Part 3
by John Muchow on September 17, 2009
Part 3 of JSON tutorial for iOS devices.
iPhone JSON Flickr Tutorial – Part 2
by John Muchow on September 8, 2009
Part 2 of JSON tutorial for iOS devices.
iPhone JSON Flickr Tutorial – Part 1
by John Muchow on August 26, 2009
Part 1 of JSON tutorial for iOS devices.
JSON Framework for iPhone
by John Muchow on October 13, 2008
Editor’s Note: Due to the popularity of this iPhone JSON series, a new three part tutorial series on working with JSON was published in August 2009. You can find the latest JSON iPhone tutorial series at the links below: iPhone (…)
Troubleshooting NSURLConnection
by John Muchow on October 7, 2008
I was recently helping a friend debug an interesting piece of code to asynchronously download images. Without giving away the application idea, let me explain what we were attempting to do from the 30,000 foot view and then share what (…)



