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