I wonder if there is a construct in ObjectiveC espacially for iOS for Threading.
I like to create a class which implements the run()-Method and if I call start() for an instance of the class the instance worked as a new thread.
Is this possible?
Thanks for your help.
As a matter of fact, yes there is. The class is called
NSThread. You are free to create your own subclass and implement the-mainmethod, which will be invoked on a new pthread when someone calls-starton an instance of your class.