• 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
method naming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

method naming


  • Subject: method naming
  • From: Torsten Curdt <email@hidden>
  • Date: Wed, 30 Jul 2008 03:45:16 +0200

Class A has method

 - (void) something:(Someclass*)s;

Class B has method

 - (BOOL) something:(Someclass*)s;

Why on earth am I getting a warning

 warning: multiple methods named '-something:' found
 using...
 also found...

They are on different objects. Should be obvious there is no problem.
Is this really just a "careful - you sure you picked the right one?"
Or what am I missing?

cheers
--
Torsten
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: method naming
      • From: Charles Steinman <email@hidden>
    • Re: method naming
      • From: Roland King <email@hidden>
  • Prev by Date: Re: Detecting platform architecture within Cocoa app?
  • Next by Date: Re: Repositioning a content view w/in a window
  • Previous by thread: Re: Detecting platform architecture within Cocoa app?
  • Next by thread: Re: method naming
  • Index(es):
    • Date
    • Thread