1
我该如何在目标c中间循环?例如在.m文件中:目标c循环
#import "untitled.h"
@implementation untitled
- (IBAction) runSample:(id)sender {
(this is running when the button is pressed)
}
(Something here that just constantly repeat that won't mess anything else up)
@end
任何想法??
Elijah
好吧,真的很快︰ 我需要检查一个值是否小于5,并且如果它应用程序运行时连续超过5。我会怎么做? – objectiveccoder001 2010-07-04 02:54:31
由于完全缺乏关于谁/触发什么变化或所需延迟的信息,很难说。但是,一般来说,当值发生变化时触发检查。 – bbum 2010-07-04 03:00:08
哦使用controlTextDidChange:? – objectiveccoder001 2010-07-04 03:06:19