• 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: Deleting a row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting a row


  • Subject: Re: Deleting a row
  • From: Björn Carlström <email@hidden>
  • Date: Sun, 30 May 2004 15:10:47 +0200

Have you tried setting the controller object to be the delegate of the
table view ?

Yes, but as far as I know the delegate doesn't get called in the responder chain. Unless its the windows delegate.



I want to use the delete command in the edit menu to delete a row in
an NSOutlinView. My controller object seems the ideal object to handle
this. How do I get the command sent to my controller object?
A. Do I need to sunclass NSOutlineView and add a delete method?
B. Do I make my controller a subclass of NSResponder and insert it
into the responder chain?
C Do I let my Document handle it and pass the command on to my
controller?
D. Something else?

Thansk for any help

Bjvrn Carlstrvm
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Deleting a row (From: Björn Carlström <email@hidden>)
 >Re: Deleting a row (From: p3consulting <email@hidden>)

  • Prev by Date: Re: Deleting a row
  • Next by Date: NSXMLParser
  • Previous by thread: Re: Deleting a row
  • Next by thread: Newbie Alert: NSMovieView with control won't update when movie changes.
  • Index(es):
    • Date
    • Thread