• 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
NSArrayController's insert:, where should the new item go?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController's insert:, where should the new item go?


  • Subject: NSArrayController's insert:, where should the new item go?
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 7 May 2008 12:14:32 -0400
  • Organization: Rogue Research

Hi all,

The "Cocoa Bindings Programming Topics" document says of
NSArrayController's 'insert:' method:

"The insert: method creates a new object using the controller's
newObject method, and inserts it after the current selection."

However, it seems to me that the actual behaviour (in 10.5.2) is to
insert the new object _before_ the current selection.

Is my app wonky?  Are the docs so wrong?

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

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

  • Follow-Ups:
    • Re: NSArrayController's insert:, where should the new item go?
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: how to know a window finishes resizing
  • Next by Date: Re: WebView does not expose bindings in IB 3
  • Previous by thread: Re: Can't understand what's causing NSRangeException
  • Next by thread: Re: NSArrayController's insert:, where should the new item go?
  • Index(es):
    • Date
    • Thread