• 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
[SOLVED] Drag from Table To View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Drag from Table To View


  • Subject: [SOLVED] Drag from Table To View
  • From: email@hidden
  • Date: Sat, 25 Sep 2010 23:11:42 -0600

This began to work when I changed the base class and initializer for the table cell from NSCell and -init to NSTextFieldCell and - initTextCell.

-koko


On Sep 25, 2010, at 6:51 PM, email@hidden wrote:



Begin forwarded message:

From: email@hidden
Date: September 25, 2010 6:45:21 PM MDT
To: Seth Willits <email@hidden>
Subject: Re: Drag from Table To View

Well thank you Seth, you are correct.

I should have said that


- (BOOL)tableView:(NSTableView *)aTableView writeRowsWithIndexes: (NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard *)pboard



is never called. And as I understood only this method and this

[self registerForDraggedTypes:[NSArray arrayWithObject:@"Obstacles"]];

need to be implemented / called for a drag session to start from a table.



On Sep 25, 2010, at 5:55 PM, Seth Willits wrote:

On Sep 25, 2010, at 1:43 PM, email@hidden wrote:

But, It don't work so what now brown cow?

Try to never say "it doesn't work." Explain *how* it doesn't work. Half the time you'll answer the question yourself.



-- Seth Willits



_______________________________________________

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:
@highrolls.net


This email sent to email@hidden



_______________________________________________

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


_______________________________________________

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: 
 >Fwd: Drag from Table To View (From: email@hidden)

  • Prev by Date: [ANN] AppKiDo 0.985
  • Next by Date: Get an absolute screen pos of a text cursor in another Carbon application from Cocoa app
  • Previous by thread: Fwd: Drag from Table To View
  • Next by thread: Class Instance Storage
  • Index(es):
    • Date
    • Thread