Fwd: wierd behaviour of NSTreeController selectedObjects
Fwd: wierd behaviour of NSTreeController selectedObjects
- Subject: Fwd: wierd behaviour of NSTreeController selectedObjects
- From: Roberto Milani <email@hidden>
- Date: Thu, 24 Aug 2006 11:23:42 -0700
Hello Everybody
I have an outlineView that shows elements with children, only one
level deep.
I'm using core data and NSTreeController to populate the view.
NSTreeController has a binding to the managedObjectContext and has the
class selected to the right object.
everything seems to work fine, the outlineView gets populated, and the
disclosure works.
I can doubleClick on items and (in a doubleClick procedure bound to
the outlineView doubleclick) the NSTreeController selectedObject call
returns the right object.
The problem start when, the object get modified and saved (in a
separate window editor opened in the doubleclick).
The outlineView shows correctly the new values but when I doubleclick
on the item the object returned by NSTreeController selectedObject is
a different one, and none of the list, it is of the correct class but
the values in the entity are bogus.
Anyone have any clue?
Roberto
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden