嗨,我有这些调用操作:
NSInvocationOperation *operation = [[NSInvocationOperation alloc]
initWithTarget:ndParser selector:@selector (parseUrl:)
object:[NSString stringWithFormat:@"http://URL%@",var]];我的方法是:
- (BOOL) parseUrl:(NSString *)URL;应该把布尔扔回去...
怎样才能捕捉到这个值?
问候
发布于 2011-03-18 21:54:36
你可以得到这样的结果:
BOOL result;
[[operation result] getValue:&result];来自docs here的。
https://stackoverflow.com/questions/5352922
复制相似问题