nickyu Posted June 4, 2008 Share Posted June 4, 2008 I am new to obj-c programming/iphone, so I am probably missing something. I am making a simple xml feed reader, which has AppDelegate, ListViewController, DetailViewController (other parts are not left out for simplicity). - AppDelegate gets the XML from a URL, Parse the content into an NSMutableArray. WriteToFile. - ListViewController recover the array using dataWithContentOfFile, populate the list view - When use click on a item, then it brings to detail view. DetailViewController recover the array using dataWithContentOfFile, get the selected Data, display. What I could not figure out is that: the data can not be recovered from ListViewController, or DetailViewController, or maybe it didn't get saved at the first place. Since it is running with iphone simulator, I don't know if there is anyway to check if the file being created at the first place. Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts