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

NSOutlineView and weird binding behaviour


  • Subject: NSOutlineView and weird binding behaviour
  • From: Godfrey van der Linden <email@hidden>
  • Date: Tue, 17 Jun 2008 20:02:15 +1000

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? To debug this process I have checked the counts on the tree controllers arrangedObject, i.e. [[cont arrangedObjects] count] != 0. Yet the NSOutlineView does not display anything unless it is created after the controllers initialise.

I'm stuck, any thoughts?

Thanks

Godfrey

_______________________________________________

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: NSOutlineView and weird binding behaviour
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Programatically placing panels inside a window
  • Next by Date: Adding calendar-entries to iPhone's iCal
  • Previous by thread: Re: Programatically placing panels inside a window
  • Next by thread: Re: NSOutlineView and weird binding behaviour
  • Index(es):
    • Date
    • Thread