• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSViewController Binding Problem continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSViewController Binding Problem continued
      • From: Cathy Shive <email@hidden>
    • Re: NSViewController Binding Problem continued
      • From: Jonathan Dann <email@hidden>
References: 
 >NSViewController Binding Problem continued (From: Ivy Feraco <email@hidden>)
 >Re: NSViewController Binding Problem continued (From: Ron Lue-Sang <email@hidden>)

  • Prev by Date: Re: IBOutlet to same control in different nibs
  • Next by Date: Re: Inverse Regex Library?
  • Previous by thread: Re: NSViewController Binding Problem continued
  • Next by thread: Re: NSViewController Binding Problem continued
  • Index(es):
    • Date
    • Thread