Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Undo not showing change in NSBrowser with mapped children key path



Hi, all.

I'm using an NSBrowser with NSTreeController. (Coredata)
I am mapping the class specific key to the child key, like so, - (NSSet *)children {return [self valueForkKey:@"otherObjects"] }
I also set the keys for triggering a change notification so if my to- many changed, "children" also gets a change note.


Whats happening is that when I add and remove, things are fine, but when I delete, then do an undo operation, even though
the item gets put back, the NSTreeController/Browser doesn't show anything (the children arrow doesn't show up).
I can confirm the item was put back if I add another item as a child, the one from the undo was still there.......


Is there something I'm missing? Even -fetch fails to call - children........ it seems like the undo manager is doing something invisible!

Andre
email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.