Re: Core Data copying and pasting
Re: Core Data copying and pasting
- Subject: Re: Core Data copying and pasting
- From: Matthew Firlik <email@hidden>
- Date: Wed, 8 Feb 2006 14:01:46 -0800
On Feb 8, 2006, at 1:32 PM, Andrew Merenbach wrote:
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?
The persistent document tutorial has an example that should be a
useful start:
http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/05_CopyAndPaste/chapter_6_section_1.html
- matthew
_______________________________________________
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