0

hi i have these invocation operation:

NSInvocationOperation *operation = [[NSInvocationOperation alloc] 
             initWithTarget:ndParser selector:@selector (parseUrl:)
             object:[NSString stringWithFormat:@"http://URL%@",var]];

my method:

- (BOOL) parseUrl:(NSString *)URL;

should throw back bool....

how can i catch this value?

regards

Phil
  • 341
  • 6
  • 19

1 Answers1

3

You can get the result like this:

BOOL result;
[[operation result] getValue:&result];

From the docs here.

deanWombourne
  • 38,189
  • 13
  • 98
  • 110