• 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: One delegate's method doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One delegate's method doesn't work


  • Subject: Re: One delegate's method doesn't work
  • From: Sherm Pendley <email@hidden>
  • Date: Fri, 24 Dec 2004 10:42:30 -0500

On Dec 23, 2004, at 7:52 PM, Lorenzo wrote:

I have a removable marker in my NSRulerView.
I remove the marker with the mouse, the marker disappears properly. Good.
The method "didRemoveMarker" is automatically invoked by the delegate. Good.
The method "shouldRemoveMarker" is never invoked.

Check the names of your delegate methods.

The docs say they should be -rulerView:didRemoveMarker: instead of -didRemoveMarker, -rulerView:shouldRemoveMarker: instead of -shouldRemoveMarker, and so forth.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: One delegate's method doesn't work
      • From: Lorenzo <email@hidden>
References: 
 >One delegate's method doesn't work (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: One delegate's method doesn't email@hidden
  • Next by Date: Re: One delegate's method doesn't work
  • Previous by thread: Re: One delegate's method doesn't work
  • Next by thread: Re: One delegate's method doesn't work
  • Index(es):
    • Date
    • Thread