• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSIndexSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSIndexSet


  • Subject: Re: NSIndexSet
  • From: David Blanton <email@hidden>
  • Date: Fri, 21 Nov 2008 09:43:08 -0700

The easiest way is to make a mutable index set:

NSMutableIndexSet *indices = [NSMutableIndexSet indexSet];
[indices addIndex:2];
[indices addIndex:4];
[indices addIndex:5];


Looks like the way ... thanks all!

David Blanton




_______________________________________________

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


References: 
 >GetApplicationTextEncoding & "carbon free" (From: spsaxena <email@hidden>)
 >Re: GetApplicationTextEncoding & "carbon free" (From: "Michael Ash" <email@hidden>)
 >NSIndexSet (From: David Blanton <email@hidden>)
 >Re: NSIndexSet (From: Greg Titus <email@hidden>)

  • Prev by Date: Re: Autorelease Question
  • Next by Date: Programmatic control of NSTableView selection?
  • Previous by thread: Re: NSIndexSet
  • Next by thread: Re: NSIndexSet
  • Index(es):
    • Date
    • Thread