• 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
Getting My NSTableView Delegate to Respond to Cut:Copy:Paste and Other Messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting My NSTableView Delegate to Respond to Cut:Copy:Paste and Other Messages


  • Subject: Getting My NSTableView Delegate to Respond to Cut:Copy:Paste and Other Messages
  • From: Peter Zegelin <email@hidden>
  • Date: Fri, 18 Apr 2008 15:46:37 +1000

New to Cocoa here.

I have an NSTableView and a delegate that responds to - (int)numberOfRowsInTableView, setObjectValue and a few other required methods. However I also need to override the Cut, Copy and Paste messages sent to the table itself. To do this I created an NSTableView subclass and it works fine however I would really like to have this in the delegate (ie one class rather than two). I need to override: cut, copy, paste, duplicate, clear, selectAll, selectNone and undo/redo. Also validateMenuItem.

Is there some way of getting the delegate to respond to these messages?

thanks!

Peter


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Getting My NSTableView Delegate to Respond to Cut:Copy:Paste and Other Messages
      • From: Jens Alfke <email@hidden>
  • Prev by Date: If I have contracting work for a Core Audio Guru, can I post it here?
  • Next by Date: Re: Getting My NSTableView Delegate to Respond to Cut:Copy:Paste and Other Messages
  • Previous by thread: Re: If I have contracting work for a Core Audio Guru, can I post it here?
  • Next by thread: Re: Getting My NSTableView Delegate to Respond to Cut:Copy:Paste and Other Messages
  • Index(es):
    • Date
    • Thread