• 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 between 2 NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag between 2 NSTableView?


  • Subject: Re: Drag between 2 NSTableView?
  • From: Todd Freese <email@hidden>
  • Date: Thu, 24 Aug 2006 21:45:53 -0500

My destination NSTableView has been subclassed to provide a more "source list" like interface. If I switch the class back to the normal NSTableView, it works. So clearly, I have some problems in my subclass. I was putting my delegate methods in my subclass.

Todd


On Aug 24, 2006, at 9:17 PM, Colin Doncaster wrote:


That doesn't sound correct, for my quick test case I have here, I have MyDocument as both the data source and delegate and the below functions implemented in the MyDocument class ( and in that it checks to see what table is accepting the data and handling it accordingly ). If you have the NSArrayController bound to the datasource then that needs to implement the below functions.


On 25-Aug-06, at 11:10 AM, Todd Freese wrote:

It is tied to an NSArrayController for it's dataSource. However, I tried adding [self setDataSource:self]; in it's awakeFromNib but it does not work.

Todd


On Aug 24, 2006, at 7:58 PM, Colin Doncaster wrote:


Do you have this class set as your data source as well? Not just the delegate?


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/ email_________________________________________________________________ _____

_______________________________________________ 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
References: 
 >Drag between 2 NSTableView? (From: Todd Freese <email@hidden>)
 >Re: Drag between 2 NSTableView? (From: Colin Doncaster <email@hidden>)
 >Re: Drag between 2 NSTableView? (From: Todd Freese <email@hidden>)
 >Re: Drag between 2 NSTableView? (From: Colin Doncaster <email@hidden>)
 >Re: Drag between 2 NSTableView? (From: Todd Freese <email@hidden>)
 >Re: Drag between 2 NSTableView? (From: Colin Doncaster <email@hidden>)

  • Prev by Date: Re: Drag between 2 NSTableView?
  • Next by Date: Re: NSSQLiteStoreType and remove (REPOST)
  • Previous by thread: Re: Drag between 2 NSTableView?
  • Next by thread: Re: Drag between 2 NSTableView?
  • Index(es):
    • Date
    • Thread