• 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: Drag and drop between two table views.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Drag and drop between two table views.
      • From: Paul Johnson <email@hidden>
References: 
 >Drag and drop between two table views. (From: Paul Johnson <email@hidden>)
 >Re: Drag and drop between two table views. (From: Graham Cox <email@hidden>)
 >Re: Drag and drop between two table views. (From: Paul Johnson <email@hidden>)
 >Re: Drag and drop between two table views. (From: Graham Cox <email@hidden>)
 >Re: Drag and drop between two table views. (From: Graham Cox <email@hidden>)
 >Re: Drag and drop between two table views. (From: Paul Johnson <email@hidden>)
 >Re: Drag and drop between two table views. (From: Graham Cox <email@hidden>)
 >Re: Drag and drop between two table views. (From: Paul Johnson <email@hidden>)

  • Prev by Date: Re: Drag and drop between 2 table views
  • Next by Date: Re: NSTextField setBackgroundColor
  • Previous by thread: Re: Drag and drop between two table views.
  • Next by thread: Re: Drag and drop between two table views.
  • Index(es):
    • Date
    • Thread