Re: Three odd iPhone dev problems
Re: Three odd iPhone dev problems
- Subject: Re: Three odd iPhone dev problems
- From: Scott Anguish <email@hidden>
- Date: Fri, 19 Mar 2010 02:21:25 -0400
On Mar 18, 2010, at 11: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!
>
are you reading the data from within the wrapper of the application, and trying to write it back out to within the wrapper?
> 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?
Sounds like a button to me._______________________________________________
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