[SOLVED] Drag from Table To View
[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