Re: multiple declarations for method?
Re: multiple declarations for method?
- Subject: Re: multiple declarations for method?
- From: Fabian Lidman <email@hidden>
- Date: Thu, 30 Dec 2004 19:16:52 +0100
short decimalLen = [[[NSUserDefaults standardUserDefaults] objectForKey:NSDecimalSeparator] length];
This means that there are several different classes who define a "length" method, and the linker doesn't know which one to use (since you're sending the message to an id). In this case it worked out anyway. In other cases, typecast your object to the appropriate class to make sure the linker knows which method you're after.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden