¡@

Home 

2014/10/15 ¤U¤È 10:05:48

iphone Programming Glossary: currentcategory

Keeping values between view controllers

http://stackoverflow.com/questions/3432725/keeping-values-between-view-controllers

void tableView UITableView tableView didSelectRowAtIndexPath NSIndexPath indexPath NSManagedObject currentCategory category if currentCategory nil NSInteger index categories indexOfObject currentCategory NSIndexPath selectionIndexPath.. UITableView tableView didSelectRowAtIndexPath NSIndexPath indexPath NSManagedObject currentCategory category if currentCategory nil NSInteger index categories indexOfObject currentCategory NSIndexPath selectionIndexPath NSIndexPath indexPathForRow.. indexPath NSManagedObject currentCategory category if currentCategory nil NSInteger index categories indexOfObject currentCategory NSIndexPath selectionIndexPath NSIndexPath indexPathForRow index inSection 0 UITableViewCell checkedCell tableView cellForRowAtIndexPath..

How to make a exclusive UITableView list for checkmarks?

http://stackoverflow.com/questions/5589316/how-to-make-a-exclusive-uitableview-list-for-checkmarks

but Apple has left out some declarations or something. The only error I receive now that I can't seem to fix is self.currentCategory is not an object and not found. So my question is how can I fix Apple's code to make it work Can someone declare explain.. indexPath tableView deselectRowAtIndexPath indexPath animated NO NSInteger catIndex taskCategories indexOfObject self.currentCategory if catIndex indexPath.row return NSIndexPath oldIndexPath NSIndexPath indexPathForRow catIndex inSection 0 UITableViewCell.. if newCell.accessoryType UITableViewCellAccessoryNone newCell.accessoryType UITableViewCellAccessoryCheckmark self.currentCategory taskCategories objectAtIndex indexPath.row UITableViewCell oldCell tableView cellForRowAtIndexPath oldIndexPath if oldCell.accessoryType..