Re: NSTableView and keyPath
Re: NSTableView and keyPath
- Subject: Re: NSTableView and keyPath
- From: "ad veloper" <email@hidden>
- Date: Fri, 10 Aug 2007 09:51:59 +0100
I solved this through the use of an NSObjectController whose
contentObject is bound through the NSApp.delegate.path.to.controller.
I then bound an NSArrayController's contentArray to the
NSObjectController with the keyPath arrayController.arrangedObjects.
It was then just a case of binding the tableColumn to this
NSArrayController's arrangedObjects.attributeToDisplay.
Thanks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden