Re: Reordering of outlineview objects after rename
Re: Reordering of outlineview objects after rename
- Subject: Re: Reordering of outlineview objects after rename
- From: Conor <email@hidden>
- Date: Fri, 16 Mar 2007 23:32:38 +0100
Hal Muller was correct. The best way is to drop [treeController
rearrangeObjects] into a subclass of NSManagedObject in the setName method.
You can select the attribute name in your core data model and right click it
to copy the implementation code into the clipboard to paste into the
subclass. Then to the end of the setName method add "[[[NSApp delegate]
treeController] rearrangeObjects]". (As a side benefit the return key will
now end editing instead of moving on to the next row.)
Conor
http://www.bruji.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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