• 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
NSTableView reloadData from two sources?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView reloadData from two sources?


  • Subject: NSTableView reloadData from two sources?
  • From: Jo Phils <email@hidden>
  • Date: Thu, 26 Mar 2009 08:53:36 -0700 (PDT)

Hello,

In my project I have 2 classes I created:

Controller class - NSObject subclass
DropView class - NSView subclass

In my DropView class I accept drops and initialize an NSArray with the items.  Then back in my Controller class I continue the processing where my Controller class is also the datasource/delegate for a TableView that I have.  My question is it's easy to send a reloadData message to my TableView from my Controller class since it's connected but how can I send a reloadData message to my TableView from my DropView class if needed?  I have made a second connection to my TableView from my DropView class with a different variable name and it works but I don't know if that's a good way to do it?  Any suggestions on the proper way?

Thank you,

Rick



_______________________________________________

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

  • Follow-Ups:
    • Re: NSTableView reloadData from two sources?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Reading one line at a time using NSFileHandle
  • Next by Date: Re: NSTableView reloadData from two sources?
  • Previous by thread: Transition Problem in CALayer.....
  • Next by thread: Re: NSTableView reloadData from two sources?
  • Index(es):
    • Date
    • Thread