0

Can anyone send me a sample code to write asynchronus method using "oneway" (oneway void) for iOS. So that it will not block the calling thread until the method returns.

Eiko
  • 25,601
  • 15
  • 56
  • 71
Swapnil
  • 1,858
  • 2
  • 22
  • 49

1 Answers1

0

Have a look at the -performSelectorInBackground:withObject: method on NSObject. I also recommend Apples Threading Programming Guide for some best practices when using asynchronous methods.

Alfonso
  • 8,386
  • 1
  • 43
  • 63