• 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: multiple methods named 'xxx' found.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple methods named 'xxx' found.


  • Subject: Re: multiple methods named 'xxx' found.
  • From: Charles Steinman <email@hidden>
  • Date: Thu, 4 Oct 2007 23:23:52 -0700 (PDT)

--- Nelson Santos <email@hidden> wrote:

> Hi all,
>
> I found the below thread messages on the
> Cocoabuilder site.  Please
> have a quick look.  I understand what YMMV is
> saying, but does anyone
> know the reason why that warning occurs?  Wouldn't
> the fact that the
> two methods are defined in different classes enough
> to allow multiple
> methods with the same name and different arguments
> to exist?

I think it was explained pretty clearly in that
thread. Yes, the two methods can both exist, but the
compiler does not necessarily know which one you meant
to call at a given point.

Cheers,
Chuck



____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
_______________________________________________

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: multiple methods named 'xxx' found.
      • From: Nelson Santos <email@hidden>
References: 
 >multiple methods named 'xxx' found. (From: Nelson Santos <email@hidden>)

  • Prev by Date: Re: Rotating an image
  • Next by Date: run application in userspace without login
  • Previous by thread: multiple methods named 'xxx' found.
  • Next by thread: Re: multiple methods named 'xxx' found.
  • Index(es):
    • Date
    • Thread