Re: NSIndex with discontinuous values
Re: NSIndex with discontinuous values
- Subject: Re: NSIndex with discontinuous values
- From: Alastair Houghton <email@hidden>
- Date: Thu, 22 Nov 2007 10:29:33 +0000
On 22 Nov 2007, at 10:26, Lorenzo wrote:
I need to select, in one shot only, some rows of my table view with
[tV selectRowIndexes:indexSet byExtendingSelection:NO];
The rows are discontinuous, as 1, 4, 6, 7, 14, 23...
So I have to create a discontinuous NSIndexSet. I can't see any way
to do
that. Have you any idea?
NSMutableIndexSet's -addIndex:, -addIndexes: or -addIndexesInRange:
methods?
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden