Undo not showing change in NSBrowser with mapped children key path
Undo not showing change in NSBrowser with mapped children key path
- Subject: Undo not showing change in NSBrowser with mapped children key path
- From: email@hidden
- Date: Tue, 31 Jan 2006 16:25:13 -0800
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:
This email sent to email@hidden