我正在使用coocs2d,並在評論時看到標題錯誤。我將UIKit導入到我的標題中。更多「請求會員不是結構或工會」錯誤
-(void)timerLoad:(NSTimer *)timer {
timer = [NSTimer scheduledTimerWithTimeInterval:(1.0/2.0) target:self selector:@selector(timerLoad:) userInfo:nil repeats:YES];
if (loadingBar.loading) { //error
[activity stopAnimating];
}
else {
[activity startAnimating];
}
if (loadingBar.loading = NO) { //error
activity.HIDDEN = YES; //thanks ;)
}
}
loadingBar是CCProgressTimer和 活動是UIActivityIndicatorView
好的電話喬納森。這些可見/隱藏的東西總是讓我感到滿意,因爲我來自C#.Net。 – 2011-01-29 22:57:59
謝謝我改變可見隱藏。我也導入了CCProgressTimer,但是這對錯誤沒有任何幫助。 #import btw haha – Joethemonkey101 2011-01-30 03:19:19