• 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
Avoiding 'cannot find method' warnings with delegates?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoiding 'cannot find method' warnings with delegates?


  • Subject: Avoiding 'cannot find method' warnings with delegates?
  • From: Jonathan del Strother <email@hidden>
  • Date: Sun, 18 Jul 2004 01:18:14 +0100

I have a custom class of NSTableView. I'm using it to intercept key presses, so the user can delete rows by hitting backspace.

This should then call deletePreset on my controller class. I've set the controller class as a delegate, so I'm just calling

[controlDelegate deletePreset];

from within the custom class.

Which works fine, except when I compile I get 'cannot find method '-presetDelete'; return type 'id' assumed'.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Avoiding 'cannot find method' warnings with delegates?
      • From: David Reed <email@hidden>
  • Prev by Date: Re: NSValueTransformer - Object Reference
  • Next by Date: Re: iChat perspective view
  • Previous by thread: Re: Expression parsing
  • Next by thread: Re: Avoiding 'cannot find method' warnings with delegates?
  • Index(es):
    • Date
    • Thread