• 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: NSArrayController indices and Drag & Drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController indices and Drag & Drop


  • Subject: Re: NSArrayController indices and Drag & Drop
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 28 May 2005 20:02:45 -0700


On May 28, 2005, at 7:30 PM, Matthew M. Swann wrote:

With an array controller, how do I make use of the row index? From previous posts, it doesn't appear to be possible to get the object that corresponds to an index without subclassing NSArrayController and writing a caching mechanism that keeps track of sorting, etc.

[[arrayController arrangedObjects] objectAtIndex:index];

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSArrayController indices and Drag & Drop (From: "Matthew M. Swann" <email@hidden>)

  • Prev by Date: NSArrayController indices and Drag & Drop
  • Next by Date: Re: NSArrayController Mysteries: Proxy Sorting in Tiger
  • Previous by thread: NSArrayController indices and Drag & Drop
  • Next by thread: Wake from Sleep
  • Index(es):
    • Date
    • Thread