Re: UITableViewCell and accessoryView

2011-01-26 Thread Luke the Hiesterman
Storing the indexPath doesn't seem hacky to me. Seems like the way to do it. Luke On Jan 26, 2011, at 7:33 AM, Hrishikesh Murukkathampoondi wrote: > I can add detect other touches. But how would I know which row > (UITableViewCell) to remove the accessoryView for? > > One, perhaps hacky, way i

Re: UITableViewCell and accessoryView

2011-01-26 Thread Hrishikesh Murukkathampoondi
I can add detect other touches. But how would I know which row (UITableViewCell) to remove the accessoryView for? One, perhaps hacky, way is store a pointer to the UITableViewCell (or store its index) that has the accessoryView and if any other cell is touched I can remove the accessoryView. Is

Re: UITableViewCell and accessoryView

2011-01-26 Thread Luke Hiesterman
On Jan 26, 2011, at 6:17 AM, Hrishikesh Murukkathampoondi wrote: > > > In a UITableView when a cell is swiped a delete button appears and allows you > to delete the row. I want to change this behavior by putting up a different > button "Complete" that will perform a different action. > >