Thursday, December 19, 2013

IOS problems create a thread

 - (void) startRemote 
{
NSThread * myThread = [[NSThread alloc]
initWithTarget: self selector: mThreadFunc object: self];
[MyThread start];
}

- (Void) mThreadFunc: (id) param
{
/ / Something to do

}

I'm going to start a thread to perform the function mThreadFunc
in startRemotexcode direct red tips "with no declared using symbols representing mThreadFunc"
Novice neighborhoods
Reply:
selector: @ selector (mThreadFun)
Reply:
3Q very much

No comments:

Post a Comment