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];
精彩评论