Core Data copying and pasting
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