On Sep 16, 2009, at 11:29 AM, A B wrote:
So in short, my need is pretty simple: Bind an array to an
NSArrayController. That being said, it seems that no combination of
exposeBindings:, bind:toObject:withKeypath:options:,
observeValueForKey:ofObject:change:context:, etc. is working as I
expect it to. Admittedly, I have done most of my binding work via
IB and I've never really done much with
bind:toObject:withKeypath:options: before, so I wouldn't be
surprised to find that that was where my problem lay.
Can anybody offer any general tips as to how I might be able to
accomplish this? I'm sure that this is one of those basic things
that once I get it I'll do a full-on forehead slap when the light
goes on, but right now I'm just feeling around in the dark.
An example, perhaps?
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
See the "Graphics Bindings" example.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com