• 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
More bindings confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More bindings confusion


  • Subject: More bindings confusion
  • From: Gwynne <email@hidden>
  • Date: Fri, 16 Jul 2004 00:08:35 -0400

In Interface Builder, you can make bindings to File's Owner without setting up a controller first. Aside from perhaps the model key path, what is the difference between binding directly to File's Owner, and creating an NSObjectController connected to File's Owner and binding to that? (Assuming that it's a singular object and that the File's Owner is what you want to bind to). What does NSController do that a direct binding does not? And if NSController does do something special, why is binding directly to File's Owner (or to Shared App) allowed at all? And why is there no documentation at all about these?

And on a side note, why is it that I can't bind to NSTableView's doubleAction? Obviously it's not exposed as a binding, but I tried exposing it by doing a subclass and an IB palette, and of course IB doesn't have the foggiest view that it's a multiple-value target-argument binding and there doesn't seem to be any way to tell it so. I smell nasty shortcomings in IB (big surprise).

-- Gwynne, key to the Code that runs us all
Email: email@hidden
Web: http://musicimage.plasticchicken.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: More bindings confusion
      • From: mmalcolm crawford <email@hidden>
    • Re: More bindings confusion
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Guidance on collecting multiple 'documents' as a 'book'
  • Next by Date: Re: More bindings confusion
  • Previous by thread: Re: Changing Cell Size in at TableView?
  • Next by thread: Re: More bindings confusion
  • Index(es):
    • Date
    • Thread