osx - Alternative to GCD dispatch queues -


for several reasons, make application backwards compatible os x 10.5.

until now, using lots of gcd dispatch queues added in 10.6 so:

dispatch_async(dispatch_get_main_queue(), ^{     [self setstatustext:@"connection established, waiting response ..."                withtype:status_msg_info];  }); 

what easiest alternative don't have re-write code?

suggestions welcome! in advance!

how following nsobject method:

- (void)performselectoronmainthread:(sel)aselector withobject:(id)arg waituntildone:(bool)wait 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -