iphone - Why am I getting this Parse Issue in X Code? -
iphone - Why am I getting this Parse Issue in X Code? -
i'm learning objective-c , app development, i'm using canned framework (buzztouch) develop simple apps. currently, i'm getting parse issue:
'thetitle' used name of name of previous parameter rather part of selector
here's line of code:
-(void)showalert:(nsstring *)thetitle:(nsstring *)themessage:(int)alerttag;
what doing wrong , how can avoid in future? sorry if easy question, i'm trying larn how of works.
compare two:
your code:
-(void)showalert:(nsstring *)thetitle:(nsstring *)themessage:(int)alerttag;
now, @ this:
-(void)showalert:(nsstring *)thetitle themessage:(nsstring *)themessage alerttag:(int)alerttag;
the problem in way have declared method:
here detailed info on declaring methods: mac developer library. take @ section titled methods , messaging.
iphone objective-c
Comments
Post a Comment