First of all, when you want to create a new topic, please do not ever
reply to an existing message. This breaks threading, since this thread
now has two topics instead of one. Thanks.
On Nov 21, 2008, at 8:44 AM, David Blanton wrote:
How would one construct an NSIndexSet containing the indices 2,4,5 ?
There are several ways, like this:
NSMutableIndexSet *set = [NSMutableIndexSet
indexSetWithIndexesInRange:NSMakeRange(2,5)];
[set removeIndex:3];
Or like this:
NSMutableIndexSet *set = [NSMutableIndexSet indexSet];
[set addIndex:2];
[set addIndex:4];
[set addIndex:5];
etc.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]