• 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 remove: does nothing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController's remove: does nothing


  • Subject: NSArrayController's remove: does nothing
  • From: Larry Gerndt <email@hidden>
  • Date: Wed, 8 Jun 2005 15:09:15 -0700

I have an NSPopupButton with the following bindings:

content = arrangedObjects [Conversations (NSArrayController)]
contentValues = arrangedObjects.attendee.properties.user_name [Conversations (NSArrayController)]
selectedObject = selectedConversation [File's Owner (ChatViewController)]

Then I have an NSButton whose target/action is the NSArrayController/remove.

For some odd reason, clicking this button has no effect.  The object is not removed, nor is my indexed accessor ever called in my model.  Things that I checked are:

Is the Conversations array mutable?  yes.
Is the "Editable" checkbox for NSArrayController checked?  yes.

Can anyone imagine what might be wrong?

--

Larry Gerndt

AIM Handle: SonOfTheSonOfMan

Let the truth be told though the heavens fall -- James Garrison


 _______________________________________________
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

  • Prev by Date: Re: Re: Universal Binaries, x86 and compatibility...
  • Next by Date: Document Autosaving sample code?
  • Previous by thread: Re: Binding to column headers
  • Next by thread: Document Autosaving sample code?
  • Index(es):
    • Date
    • Thread