Table cell: how show blue when tapped only while editing is true?

2009-09-09 Thread Steve Fogel
Hi, all... I've got a table view for which users must tap an Edit button before they can make changes. This button puts the table view in editing mode. How can I make the cell show blue (it's selected) only while editing is true? The scenario I want: When editing = NO 1. User taps a cel

How duplicate the text color of Apple's labels in UITableView cells

2009-11-30 Thread Steve Fogel
cell with the style UITableViewVellStyleValue2. Does anyone have the correct UIColor to do this? Would you be willing to share it please? Thanks! Steve Fogel Crescent Computing___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

How apply a mask (xxx-xxx-xxxx for phone #) to a text field while inputting?

2009-06-23 Thread Steve Fogel
Hi, all... In my iPhone app I'd like to have a text field that duplicates the behavior of the phone field in the Contacts application, applying a mask to the field as it's being entered. So if the user types 2125551212, I'd like the text field to display (212) 555-1212. I know about the

Re: Substituting characters in a UITextField

2009-06-26 Thread Steve Fogel
Hi... textField:shouldChangeCharactersInRange:replacementString just tells you what the most recent character is that got typed (if range == 0) or got backspaced over (if range == 1). You have to use other methods to actually change the contents of the text field. You manipulate the text

Possible to have a UITextView one line high? Having trouble

2009-06-30 Thread Steve Fogel
Hi, all... I'm trying to use a text view instead of a text field to allow my user to enter a phone number. Reason: I want to format the phone number as the user types, just like the Contacts app, and I want to be able to position the cursor as the user edits. Can't position the cursor with

Can record ID in iOS address book database change

2012-05-06 Thread Steve Fogel
Hi, all... The Address Book Programming Guide for iOS says that the ABRecordID of a person record in the address book database can change, after a MobileMe sync reset or for some other reason. Is this still true for iOS 5.0? That is, if I store an ABRecordID in my app and later want to retrie

Table view missing row separator after add 1st row.

2012-07-04 Thread Steve Fogel
Hi, all… My app starts by showing a table view with no rows. The user taps + to add the first entry. A modal view controller is presented to get input data and then it is dismissed to reveal the original table view, where the new entry is show. See the screenshot. In recent versions of iOS, whe