Re: Drag and drop between two table views.
Re: Drag and drop between two table views.
- Subject: Re: Drag and drop between two table views.
- From: mmalc Crawford <email@hidden>
- Date: Thu, 28 Oct 2010 14:36:35 -0700
On Oct 28, 2010, at 2:20 pm, Paul Johnson wrote:
> The model for the data in the destination tableview is essentially the same
> as for the source tableview. The only difference is that the data model for
> the destination tableview has an additional entity and a relationship.
>
Then it's not the same model.
Per my previous reply, the approach you should take is illustrated in the NSPersistentDocument tutorial; general strategies are also discussed in the Core Data Programming Guide:
<http://pubsbuild.apple.com/Messier/Releases/BaroloDevLib/recipes/xcode_help-core_data_modeling_tool/index.html>
> Right now I'm getting an error message when I try to decode the pasteboard
> data: "Failed to call designated initializer on NSManagedObject class
> 'Market'"
> I guess I can write more code and just copy the strings to build an array
> that doesn't depend on "NSManagedObject", but perhaps someone can help me
> avoid doing this, but instead recommend a method makes drag and drop
> compatible with Core Data.
See previous reply.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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