Hello there,

I'm trying to get into Cocoa Bindings and got a simple setup with a NSTableView 
and a NSMutableArray which holds custom Objects that contain a NSDate object 
and a NSNumber Object.

In my XIB I've created a NSArrayController which is bound to my App Delegate 
and uses the name of the NSMutableArray variable as Model Key Path. I've also 
set my custom object class in the attributes section of the array controller.

I've got two columns in my table view which are connected to the array 
controller and use "selection" as the controller key and the corresponding 
variable names of the NSDate and NSNumber objects as Model Key Path.

Now, is there anything wrong with this setup? I've filled the array with 3 
objects in "applicationDidFinishLaunching" so the table view should contain 
them at start since the binding uses KVO or am I completely wrong here?

Thanks in advance!

Tilo_______________________________________________

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

Reply via email to