Skip navigation.
 
mlRe: One delegate's method doesn't work
FROM : Sherm Pendley
DATE : Fri Dec 24 16:42:30 2004

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

Related mailsAuthorDate
mlOne delegate's method doesn't work Lorenzo Dec 24, 01:52
mlRe: One delegate's method doesn't work Paolo Costabel Dec 24, 02:58
mlRe: One delegate's method doesn't work Sherm Pendley Dec 24, 16:42
mlRe: One delegate's method doesn't work Lorenzo Dec 25, 01:16
mlRe: One delegate's method doesn't work mmalcolm crawford Dec 25, 12:09