NSIndexSet+Etoile documentation

Authors

Quentin Mathe (qmathe@club-internet.fr)
Additions to index set classes.

Copyright: (C) 2007 Quentin Mathe


Contents -

  1. Software documentation for the NSIndexSet(Etoile) category
  2. Software documentation for the NSMutableIndexSet(Etoile) category

Software documentation for the NSIndexSet(Etoile) category

NSIndexSet(Etoile)

Declared in:
NSIndexSet+Etoile.h

@group Collection Additions

Method summary

indexPaths 

- (NSArray*) indexPaths;

Returns an array of index paths by creating a new index path for each index stored in the receiver.

Each resulting index path only contains a single index.


Software documentation for the NSMutableIndexSet(Etoile) category

NSMutableIndexSet(Etoile)

Declared in:
NSIndexSet+Etoile.h

@group Collection Additions

Method summary

invertIndex: 

- (void) invertIndex: (unsigned int)index;

Inverts whether an index is present or not in the index set.

If the receiver contains index, this index gets removed, else this index gets added.