• 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: NSTableView: which delegate after a drag operation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTableView: which delegate after a drag operation? (From: Ulf Dunkel <email@hidden>)
 >Re: NSTableView: which delegate after a drag operation? (From: Scott Anguish <email@hidden>)
 >Re: NSTableView: which delegate after a drag operation? (From: Ulf Dunkel <email@hidden>)
 >Re: NSTableView: which delegate after a drag operation? (From: Scott Anguish <email@hidden>)
 >Re: NSTableView: which delegate after a drag operation? (From: Ulf Dunkel <email@hidden>)

  • Prev by Date: Re: Setting a delegate on a UITextField
  • Next by Date: Re: Setting a delegate on a UITextField
  • Previous by thread: Re: NSTableView: which delegate after a drag operation?
  • Next by thread: Re: NSTableView: which delegate after a drag operation?
  • Index(es):
    • Date
    • Thread