首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Iphone >

IOS创建线程有关问题

2012-02-14 
IOS创建线程问题C/C++ code- (void)startRemote{NSThread *myThread [[NSThread alloc]initWithTarget:s

IOS创建线程问题

C/C++ code
- (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”
新手求教

[解决办法]
selector:@selector(mThreadFun)

热点排行