• 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: Array controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Array controller?


  • Subject: Re: Array controller?
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 17 Apr 2004 21:22:27 -0700

On Apr 17, 2004, at 7:10 PM, Ondra Cada wrote:
I have a NIB which contains an NSTable, an NSArrayController, and the
model object (which provides the array).
How to bind the NSArrayController to the array? Its Binding > Content
array allows me to set only Shared user default, File's owner and
Shared application, none of which I want... the model object happens to
be inside the NIB, instantiated there?

You cannot at the moment using Interface Builder bind to arbitrary [non-NSController] objects in a NIB file:
<http://cocoa.mamasam.com/COCOADEV/2004/02/2/85307.php>
etc.

You will have to establish the binding programatically:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>

mmalc
_______________________________________________
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: Array controller?
      • From: Scott Anguish <email@hidden>
References: 
 >Array controller? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: CURS ressources on OS X
  • Next by Date: Re: NSObjectController and NSDefaultsController Binding?
  • Previous by thread: Array controller?
  • Next by thread: Re: Array controller?
  • Index(es):
    • Date
    • Thread