phoenix-iphone-developer-group
[Prev] Thread [Next] | [Prev] Date [Next]
[Pi] UITableViewCell editAction Bradley S. O'Hearne Tue May 19 15:01:02 2009
All, Has anyone gotten the UITableViewCell editAction selector callback to work? I have an iPhone application with a custom UITableViewCell, and I need to alter my cell's appearance when the delete control (round red delete circle displayed to the left in edit mode) is pressed by the user, so that my cell accessory (which is showing) no longer shows, and the custom UILabels showing text within my cell are properly resized. I have been reading documentation and running tests for about 3 hours now, and I cannot seem to put my finger on what exactly the problem is. The Table View and Controller document doesn't even show this interaction in its sequence diagram, yet the target / editAction properties and explanation are in the API doc. I know that there is some means of making this work, because this exact behavior is implemented in the built-in Contacts application when you press the delete control for a phone number or email address -- the delete confirmation button appears, and the cell accessory disappears, and the cell text resizes. I need this exact same behavior in my custom cell, but I cannot get this editAction callback to work. Any insight is greatly appreciated. On a related note, I've nearly come through all the nasties of custom UITableViewCells and full add / edit / delete functionality in tables -- this might make for a worthy topic at the next Pi meeting if anyone is interested. Thanks, Brad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Phoenix iPhone Developer Group" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/phoenix-iphone-developer-group?hl=en -~----------~----~----~----~------~----~------~--~---
- [Pi] UITableViewCell editAction Bradley S. O'Hearne <=