Cover by Joe Conway, Aaron Hillegass

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Building BNRFeedStore

The code that was removed from ListViewController must be replaced in BNRFeedStore. The BNRFeedStore must handle preparing the NSURLRequest, kicking off the NSURLConnection, handling the response from the server, and starting the parser. The ListViewController simply asks for these actions to be initiated and supplies a callback for when they are completed.

Initiating the connection

A store’s job is to take a really simple request from a controller, like fetch the RSS feed, and prepare a detailed request tailored for the external source it interacts with. In this case, the detailed request is the web service call to http://forums.bignerdranch.com. In BNRFeedStore.m, begin implementing fetchRSSFeedWithCompletion: by preparing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required