• 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: Method Signature Problem.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Method Signature Problem.


  • Subject: Re: Method Signature Problem.
  • From: Bill Bumgarner <email@hidden>
  • Date: Fri, 12 Jun 2009 11:08:13 -0700

On Jun 11, 2009, at 10:03 AM, Joshua Garnham wrote:
I am getting the Error/Warning about a part of my code saying 'Messages
Without A Matching Method Signature will be assumed to return 'id' and
accept '…' as arguments.)'
I do not understand why I am getting this
error, so please help, below is a link to that part of code in the
implementation file.


http://fwdr.org/h8xf

The error is happening on this line:

if ([[self objectArray] indexOfObject:rootObj] % 2)

You either haven't #imported the header file that contains the declaration of -objectArray or, more likely in this case given that it is a message to self, -objectArray is declared after the above line of code within the @implementation.


b.bum

_______________________________________________

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


References: 
 >Method Signature Problem. (From: Joshua Garnham <email@hidden>)

  • Prev by Date: Re: Method Signature Problem.
  • Next by Date: Re: How can we mount and unmount dmg files on MAC OS X?
  • Previous by thread: Re: Method Signature Problem.
  • Next by thread: Re: Method Signature Problem.
  • Index(es):
    • Date
    • Thread