• 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: NSOutlineView and weird binding behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView and weird binding behaviour


  • Subject: Re: NSOutlineView and weird binding behaviour
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 17 Jun 2008 13:56:09 -0700


On 2008 Jun, 17, at 3:02, Godfrey van der Linden wrote:

This behaviour is really bending my mind. I thought I got bindings but it is really fooling me.

I have 3 outline views controlled by a NSViewController. These outline views are bound for values to individual tree controllers arrangedObjects.shortName and each tree controller has its content set bound to representedObject.object.relationshipset

Now when I import objects into the everything is displayed as expected. However if I open a document that is already populated nothing is displayed?

Try checking the "Prepares Content" checkbox in the attributes of that tree controller. I believe that checkbox is equivalent to - setAutomaticallyPreparesContent.


This is my second-favorite object controller fix, behind "Handles Content As Compound Value". I've never taken the time to understand what they do, but one of them often solves problems like this.

_______________________________________________

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


References: 
 >NSOutlineView and weird binding behaviour (From: Godfrey van der Linden <email@hidden>)

  • Prev by Date: Re: Drawing in CALayers
  • Next by Date: Re: iMovie HD like splash screen
  • Previous by thread: NSOutlineView and weird binding behaviour
  • Next by thread: Adding calendar-entries to iPhone's iCal
  • Index(es):
    • Date
    • Thread