Networking

iPhone Developer Tips Visitor Stats:
126,691 Pageviews and 94,296 visitors in the past 30 days.



HTTP Basic Authentication – Accessing Password Protected Servers

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 a server, the delegate methods of NSURLConnection offer a means to be notified when an [...]

Networking

Post to a Twitter Account from the iPhone

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 how to post to a Twitter account.

Networking

iPhone JSON Flickr Tutorial – Part 3

Welcome to the third and final post on working with the iPhone SDK, JSON and the Flickr API. In I Part 1 we setup a JSON library, created a Flickr API key and wrote code to retrieve images and the titles from Flickr. In Part 2 of the series we dove into the how to [...]

Networking

iPhone JSON Flickr Tutorial – Part 2

Welcome to the second tutorial in this three part series on using the iPhone SDK, JSON and Flickr. In the first tutorial we covered the basics for setting up the JSON framework within your projects, registering to get Flickr API key, and writing some code to asynchronously fetch images and their accompanying titles from Flickr. [...]

Networking

iPhone JSON Flickr Tutorial – Part 1

Two consistently popular posts on iPhone Dev Tips are JSON Frameworks for iPhone Part 1 and Part 2. Seems a good time to revisit the combination of the iPhone and JSON, this time creating a complete working application. This is part one of a three part series in which I’ll build a Flickr photo viewer, [...]

Networking

JSON Framework for iPhone

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 JSON and Flickr Tutorial – Part 1 iPhone JSON and Flickr Tutorial – Part 2 [...]

Networking

Troubleshooting NSURLConnection

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 we discovered, hopefully saving you time should you ever need to implement similar functionality.

Networking