• 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: Programmatic initialization of a NSManagedObject with a Relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatic initialization of a NSManagedObject with a Relationship


  • Subject: Re: Programmatic initialization of a NSManagedObject with a Relationship
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 30 Oct 2010 19:45:04 -0700

On 2010 Oct 30, at 16:46, Paul Johnson wrote:

> I have 2 tableviews (A and B) in a window. Both use Core Data. A 3rd
> tableview (in a drawer) has a complete list of items that I can selectively
> Drag and Drop to tableview B. I have almost implemented the Drag and Drop,
> but one step is missing. Tableview B has a Relationship to an item in
> tableview A, and I need to set up that pointer in my tableview B array
> controller (in tableView:acceptDrop:row:dropOperation:).

I'm not sure if you're having trouble with drag and drop or with Core Data.  The former is explained in "Drag and Drop Programming Topics for Cocoa" and the latter in "Core Data Programming Guide" ▸ "Using Managed Objects".  Read the subsection "Drag and Drop" in particular.

> I haven’t figured out how to do that yet.

You should reply and explain what part of "that" you *haven't* figured out, and what part you *have* figured out.

I'd bet that you're probably not as close to being done as you think you are, though.  Drag and drop, particularly when mixed with Core Data, typically has some interesting corner cases to work out.

_______________________________________________

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

References: 
 >Programmatic initialization of a NSManagedObject with a Relationship (From: Paul Johnson <email@hidden>)

  • Prev by Date: Programmatic initialization of a NSManagedObject with a Relationship
  • Next by Date: Menulet Problem
  • Previous by thread: Programmatic initialization of a NSManagedObject with a Relationship
  • Next by thread: Re: Programmatic initialization of a NSManagedObject with a Relationship
  • Index(es):
    • Date
    • Thread