Re: NSIndexSet
Re: NSIndexSet
- Subject: Re: NSIndexSet
- From: John Randolph <email@hidden>
- Date: Fri, 30 Jan 2004 16:39:49 -0800
On Jan 30, 2004, at 4:17 PM, Herr Witten wrote:
How are noncontiguous indexes added to an index set?
You need to use an NSMutableIndexSet, which has -addIndex: -addIndexes:
and -addIndexesInRange: methods. If you need the result to be
immutable, you can create a new NSIndexSet and initialize it with
-initWithIndexSet:
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >NSIndexSet (From: Herr Witten <email@hidden>) |