Re: NSTableView: which delegate after a drag operation?
Re: NSTableView: which delegate after a drag operation?
- Subject: Re: NSTableView: which delegate after a drag operation?
- From: Corbin Dunn <email@hidden>
- Date: Mon, 07 Mar 2011 10:59:02 -0800
On Mar 5, 2011, at 2:03 AM, Ulf Dunkel wrote:
> Hi Scott.
>
>>>>> 1) Which delegate can I use to inform table view B to update and reload its data when I have dragged an item inside table view A?
>>>>
>>>> If you’re adding it to the object array, you can easily do the update notification then.
>>>
>>> [..] what do you mean here with "the object array”?
>>
>> If you’re adding the dragged data to your target table, that’s a good time to provide some notification that it needs to be updated.
>
> I only allow rows in NSTableView A to be moved inside A, or rows in NSTableView B to be moved inside B. But when a row in A has been moved, I want B to load and show updated data.
>
> I really don't know which notification or delegate to use for this.
>
> Can you give me a notification example, please?
>
You have to send your own notification, and respond to it.
corbin
_______________________________________________
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