• 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
Re: Reordering of outlineview objects after rename
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Implementing serial license scheme
  • Next by Date: Re: Embeding a view into another application
  • Previous by thread: Re: Reordering of outlineview objects after rename
  • Next by thread: NSImage save error
  • Index(es):
    • Date
    • Thread