Mailing Lists: Apple Mailing Lists

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

Re: NSArrayController and the single NSMutableArray




On May 4, 2005, at 5:11 PM, Glen Low wrote:

I have an NSArrayController whose contentArray is bound to some object's NSMutableArray (it's an ivar but I don't think this should matter). I can easily make changes to the NSMutableArray through the NSArrayController's add: and remove: methods, but cannot get any programmatic changes to the NSMutableArray (addObject: etc.) to be reported by the NSArrayController back to any bound views.


See: "Programmatic modifications to arrays not noticed by table view" at <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>

mmalc

_______________________________________________
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
References: 
 >NSArrayController and the single NSMutableArray (From: Glen Low <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.