• 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
Undo not showing change in NSBrowser with mapped children key path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: NSTask, environment and ... X11
  • Next by Date: Still struggling with Universal Binaries
  • Previous by thread: Re: NSTask, environment and ... X11
  • Next by thread: Still struggling with Universal Binaries
  • Index(es):
    • Date
    • Thread