Re: Three odd iPhone dev problems
Re: Three odd iPhone dev problems
- Subject: Re: Three odd iPhone dev problems
- From: William Squires <email@hidden>
- Date: Fri, 19 Mar 2010 19:38:46 -0500
After a bit of poking about, I managed to solve #1.
On Mar 18, 2010, at 10:59 PM, Dave Carrigan wrote:
On Mar 18, 2010, at 8:55 PM, William Squires wrote:
1) How does one save an XML back into its file? I've got a project
that loads an xml file via a UITableView's delegate methods - that
all works; I can see all the items in the NSMutableArray which was
loaded from the XML file I created and dragged into the
"Resources" group in Xcode. But the only code I have for saving
only works on the simulator, not on the real device. In fact, the
book (one of the "Head First" books on iPhone dev) specifically
states that the code only works on the simulator! But there has to
be a way to write the changed data back on the real device, or
Core Data wouldn't work, either!
How exactly are you reading this XML? Without knowing what XML
schema the file was in, there's no way we can help you with
generating a file that uses the same schema.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden