• 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
Core Data copying and pasting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data copying and pasting


  • Subject: Core Data copying and pasting
  • From: Andrew Merenbach <email@hidden>
  • Date: Wed, 8 Feb 2006 13:32:10 -0800

Hi, all. I'm in need of advice on how to properly implement copying and pasting in my Core Data app. I use an NSTreeController in conjunction with an outline view. The method that I use now for copying of items and their children (and which doesn't work properly in my own implementation) is to create copies of the selected items in property-list form (that is to say, I use a recursive NSDictionary creation algorithm). I would submit my own code here but it is lengthy and I'm sure, internally, that it is far off-base.

Are there guidelines (or has anyone come up with sample code) as to how copying and pasting should be implemented in an outline view that has a Core Data tree controller back-end?

Cheers,
	Andrew
_______________________________________________
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


  • Follow-Ups:
    • Re: Core Data copying and pasting
      • From: Matthew Firlik <email@hidden>
  • Prev by Date: Re: Connecting Menu Items to Actions
  • Next by Date: Re: Connecting Menu Items to Actions
  • Previous by thread: Re: Services and Windows
  • Next by thread: Re: Core Data copying and pasting
  • Index(es):
    • Date
    • Thread