One Quickie


Toggling an index in an NSMutableIndexSet (General->General)
NSUInteger index = indexPath.row; if ([_selection containsIndex: index]) [_selection removeIndex: index]; else [_selection addIndex: index];



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com