On Jun 19, 2008, at 7:49 PM, Godfrey van der Linden wrote:

The sub-xib bindings are through the NSViewControllers representedObject, which gets set not at awakeFromNib time but later when the subview is activated.

What do your bindings look like?

If you have an outline view managed by an NSTreeController in your xib, I'd expect you to have (1) your outline view's column's "value" bound through your NSTreeController's arrangedObjects; (2) your NSTreeController's "contentObject", "contentArray", or "contentSet" bound through your File's Owner's representedObject; (3) your NSTreeController set to use entity mode; and (4) your NSTreeController's managedObjectContext bound to something appropriate.

#3 & 4 above are optional if you don't rely on the NSTreeController to instantiate your model objects.

Is this about how you have your bindings configured now, or are they set up differently?

  -- Chris

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to