Getting My NSTableView Delegate to Respond to Cut:Copy:Paste and Other Messages
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