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

Re: Multiple declarations for method length


  • Subject: Re: Multiple declarations for method length
  • From: Daryn <email@hidden>
  • Date: Tue, 30 Dec 2003 13:54:14 -0600

Is myString declared as an id? If so, the compiler doesn't know which
one you want, although the runtime will invoke the correct one. You
can eliminate the warning by either declaring or casting myString as a
NSString*.

On Dec 30, 2003, at 1:20 PM, Jay Rimalrick wrote:

> This is the warning I get when I compile my project.
>
> For some reason it is getting confused between the NSStatusItem length
> method and the NSString length method. Is there any way to explicitly
> use the NSString length method in my code over and above my simple
> [myString length];
>
>
> thanks,
> jay
>
>
>
>
> ________________________________________________________________
> Sent via the WebMail system at 1st.net
> _______________________________________________
> 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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

References: 
 >Multiple declarations for method length (From: "Jay Rimalrick" <email@hidden>)

  • Prev by Date: NSArrayController & threads
  • Next by Date: RE: Multiple declarations for method length
  • Previous by thread: Multiple declarations for method length
  • Next by thread: RE: Multiple declarations for method length
  • Index(es):
    • Date
    • Thread