Re: Three odd iPhone dev problems

2010-03-23 Thread Nava Carmon
I have a field with such a behavior in my application. I just colored the text in blue color, so it can be easily distinguished. Since I present texts in the table view, I invoke phone call when the user taps on the cell. For editing text table has to be in edit mode. But if you really want to s

Re: Three odd iPhone dev problems

2010-03-19 Thread William Squires
So I found out... :) After spending some time trying to figure out how to (1) obtain the application's documents folder, and (2) use NSFileNamaner to copy the read-only version into said documents folder. On Mar 19, 2010, at 11:01 AM, Jens Alfke wrote: On Mar 18, 2010, at 8:55 PM, William

Re: Three odd iPhone dev problems

2010-03-19 Thread William Squires
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

Re: Three odd iPhone dev problems

2010-03-19 Thread William Squires
Thanks! Now, is it possible to make a UIButton look like a UITextField whose caption is underlined (to look like a link)? On Mar 18, 2010, at 11:00 PM, Dave Carrigan wrote: On Mar 18, 2010, at 8:55 PM, William Squires wrote: 3) How do I get a UITextField that displays a telephone number to

Re: Three odd iPhone dev problems

2010-03-19 Thread Jens Alfke
On Mar 18, 2010, at 8:55 PM, William Squires wrote: > How does one save an XML back into its file? -[NSData writeToFile:atomically:] > 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 l

Re: Three odd iPhone dev problems

2010-03-18 Thread Scott Anguish
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 > creat

Re: Three odd iPhone dev problems

2010-03-18 Thread Dave Carrigan
On Mar 18, 2010, at 8:55 PM, William Squires wrote: > 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? Maybe make it a custom button instead.

Re: Three odd iPhone dev problems

2010-03-18 Thread Dave Carrigan
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 > create

Three odd iPhone dev problems

2010-03-18 Thread William Squires
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 th