• 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 with Core Data bound NSTableViews - SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and Drop with Core Data bound NSTableViews - SOLVED


  • Subject: Re: Drag and Drop with Core Data bound NSTableViews - SOLVED
  • From: "Adam Gerson" <email@hidden>
  • Date: Sat, 23 Feb 2008 23:48:24 -0500

My Appologies. This is working now. Can't exactly explain how. I set
the NSTableView's delegate outlet to my window controller and then it
worked.

Adam




On 2/23/08, Adam Gerson <email@hidden> wrote:
> I think I have this very close to working. My understanding is that
>  for drag and drop to work I have to set some object as the
>  NSTableView's data source even though technically the table columns
>  are bound to an NSArrayController for data. In my data source object I
>  have implemented the nessesery methods for drag and drop.
>
>  When the NSTableView has its data source outlet set drag and drop
>  works fine, but the columns do not get populated with data from the
>  ArrayController. As soon as I remove the data source outlet the data
>  returns to being bound to the ArrayController and the drag and drop
>  goes away.
>
>  How can I have a datasouce oulett for an NSTableView to provide drag
>  and drop support and have the NSTableColumn also get its data from the
>  NSArrayController it is bound to?
>
>
>  Thanks,
>
> Adam
>
_______________________________________________

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 with Core Data bound NSTableViews - SOLVED
      • From: Andrew Merenbach <email@hidden>
  • Prev by Date: Drag and Drop with Core Data bound NSTableViews almost works
  • Next by Date: Re: Drag and Drop with Core Data bound NSTableViews - SOLVED
  • Previous by thread: Drag and Drop with Core Data bound NSTableViews almost works
  • Next by thread: Re: Drag and Drop with Core Data bound NSTableViews - SOLVED
  • Index(es):
    • Date
    • Thread