开发者

sending parameters to void objective c,iphone sdk

This won't work, I have NSMutableArray - uidslist and need to sent it to the doAfterRe开发者_C百科questComplete as urlString, how I can do it?

Please help me, I'm new in objective c

[uidstr performSelector:@selector(doAfterRequestComplete:) ];

.m

-(void)doAfterRequestComplete:(NSMutableString *)urlString
{
    NSLog(@"%@",urlString);
}

.h

-(void)doAfterRequestComplete:(NSMutableString *)urlString;


You need to add the object (and call it on the object with this method, probably self):

[self performSelector:@selector(doAfterRequestComplete:) withObject: uidstr];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜