Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController's remove: does nothing



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.