Re: NSViewController Binding Problem continued
Re: NSViewController Binding Problem continued
- Subject: Re: NSViewController Binding Problem continued
- From: "Hamish Allan" <email@hidden>
- Date: Thu, 17 Jul 2008 21:26:09 +0100
On Thu, Jul 17, 2008 at 8:50 PM, Ron Lue-Sang <email@hidden> wrote:
> The tableview is expecting to be bound to the arraycontroller directly. It
> doesn't know that representedObject is an arrayController.
You might wish to file an enhancement request for NSViewController to
provide an init method taking a representedObject to be set up before
attempting bindings etc., which would circumvent this issue.
Or you could argue that, according to the principles of duck typing,
NSTableView shouldn't care, just as long as
representedObject.arrangedObjects.displayText quacks like an array. In
which case it's a bug.
Hamish
_______________________________________________
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