Let's begin writing our app now. Using the
Hello Location application as the base of our project, we add a
UITableView, which will be used to show the nearby events.
Hello Locationproject. In the
Hello_locationViewController.hfile, create a
UITableViewvariable that will be used to display a Table View in our app. We will also define a variable for connecting to the Eventful API URL via
NSURLConnection. An XML Parser of the type
NSXMLPareris created as well, and lastly, a variable to store the XML content retrieved from Eventful of the type
NSMutableDatais also created.
NSXMLParserDelegatein our class definition to use the methods implemented ...