Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments.
Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments.
- Subject: Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments.
- From: Søren Krogh Neigaard <email@hidden>
- Date: Wed, 3 Dec 2008 19:38:04 +0100
Hi xcoders
Still pretty new to this Objective-C and have yet not received my
book :p
So I have this class, where I have the following method:
-(CGPoint)getLocalPoint: (UIView*) localView : (CGPoint) globalPoint {
... magic here ...
}
In the same class I have another method that calls this method like
this:
- (void)onTimer {
... vodoo here ...
someView.center = [self getLocalPoint: anotherView :
CGPointMake(320 / 2, 480 / 2)];
}
Now I get this warning plus an error saying: error: incompatible type
for argument 1 of 'setCenter:'
So it seems somehow it can not identify my method, even though it is
in the same class. Im a Java person, what I really wanted is just a
private method here??
Med venlig hilsen/Best regards
Søren Neigaard <email@hidden>
If I'd known computer science was going to be like this, I'd never
have given up being a rock 'n' roll star.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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