Creating table rows from XML

2009-04-20 Thread Phil Dokas
Hello all, I'm writing my first iPhone application and I've run into a problem I can't seem to get a grasp on. In short I want to parse an XML file and display a UITableView with data from a set of XML elements. I've got all the code written for this but whenever I try to access my array

Re: Creating table rows from XML

2009-04-20 Thread Nathan Kinsinger
On Apr 20, 2009, at 12:30 AM, Phil Dokas wrote: PDPage* newPage = [[PDPage alloc] initWithID:[idAttr intValue] andTitle:titleAttr]; In the -initWithID:andTitle: method are you sure you are copying the title? --Nathan ___ Cocoa-dev

Re: Creating table rows from XML

2009-04-20 Thread Nathan Day
What happens when you run it in the debugger, you say this is your first iPhone application if you are new to using a debugger then you really need to learn how to use that, it will make finding bugs like this a lot easier, for example you can break just before you add an object to you