2010-09-09 178 views
0

我在我的代码使用如何知道函数是否完成?

[NSTimer scheduledTimerWithTimeInterval:0 target:self selector:@selector(myfunc:) userInfo:text repeats:false]; 

。我如何知道myfunc是否已完成运行,以便我可以获取它已更改的全局变量?

谢谢!

+3

为什么函数不能通知收件人? – 2010-09-09 11:20:09

回答

相关问题