Three odd iPhone dev problems
Three odd iPhone dev problems
- Subject: Three odd iPhone dev problems
- From: William Squires <email@hidden>
- Date: Thu, 18 Mar 2010 22:55:20 -0500
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!
2) I've got a view that's pushed when the user taps on a table view
cell to expand the info. That view (in StoreDetailView.xib) works,
but all the UITextFields are disabled (deliberately) Another view
(AddStoreDetailView.xib) is identical, except the UITextFields are
all enabled. This works fine on the simulator, but not on the real
iPhone! On the simulator, I can click a UITextField, and the
(simulated) keyboard pops up at the bottom. On the real phone,
nothing happens when I click any of the (supposedly enabled)
UITextFields! Grrrrr.... :(
3) How do I get a UITextField that displays a telephone number to be
able for the user to click it to dial the number, but not so they can
edit it in place? Or is this a different control?
_______________________________________________
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