- (void)startRemote
{
NSThread *myThread = [[NSThread alloc]
initWithTarget:self selector:mThreadFunc object:self];
[myThread start];
}-(void)mThreadFunc:(id)param
{
//something to do
}
我打算在startRemote中启动线程执行函数mThreadFunc
xcode直接红色提示 “使用了没有declared表示符号mThreadFunc”
新手求教
{
NSThread *myThread = [[NSThread alloc]
initWithTarget:self selector:mThreadFunc object:self];
[myThread start];
}-(void)mThreadFunc:(id)param
{
//something to do
}
我打算在startRemote中启动线程执行函数mThreadFunc
xcode直接红色提示 “使用了没有declared表示符号mThreadFunc”
新手求教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货