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.
Asked
Active
Viewed 1,990 times
0
-
4`oneway` is only used in Distributed Objects, which are not available on iOS. – Jun 27 '11 at 12:09
-
@Bavarious, you should add this as the answer – hooleyhoop Jun 27 '11 at 13:51
1 Answers
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