• 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 removeObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController removeObjects


  • Subject: Re: NSArrayController removeObjects
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 17 Sep 2004 11:09:12 -0700

If allThings is the array being controlled by the NSArrayController controllerForAllThings then this will produce a crash:
[ controllerForAllThings removeObjects: allThings ];
Whereas this does work:
[ controllerForAllThings removeObjects: [ NSArray arrayWithArray: allThings ] ];
Should this be documented?


It should either be documented, or (perhaps more likely) it's a bug.

This list, though, is not an official channel back to Apple; please submit a bug report:
<http://bugreport.apple.com/>


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 removeObjects (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Home and end keys and NSTableView, not handled automatically?
  • Next by Date: Creating Time Control?
  • Previous by thread: NSArrayController removeObjects
  • Next by thread: NSArrayController removeObjectAtArrangedObjectIndex
  • Index(es):
    • Date
    • Thread