if (isLoading) {
self.tipView = [[BBTipsView alloc] initWithMessage:@"正在加载" showLoading:YES parentView:self.view autoClose:NO];
self.tipView.needsMask = YES;
[self.tipView show];
while (isLoading) {
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
}
[self.tipView close];
}
类似这样,为什么花括号不对齐?不觉得很难看吗!
函数声明: -(void) test:(int) input;
难道不觉得C# JAVA C/C++的风格,更好看吗,敲的字符更少么:
void test(int input);
没有说OB-C语言不好之类的,只是觉得苹果有点特立独行,把一些简单的格式弄复杂了,非得弄得跟别的不一样,刚转OB-C,吐槽下
self.tipView = [[BBTipsView alloc] initWithMessage:@"正在加载" showLoading:YES parentView:self.view autoClose:NO];
self.tipView.needsMask = YES;
[self.tipView show];
while (isLoading) {
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
}
[self.tipView close];
}
类似这样,为什么花括号不对齐?不觉得很难看吗!
函数声明: -(void) test:(int) input;
难道不觉得C# JAVA C/C++的风格,更好看吗,敲的字符更少么:
void test(int input);
没有说OB-C语言不好之类的,只是觉得苹果有点特立独行,把一些简单的格式弄复杂了,非得弄得跟别的不一样,刚转OB-C,吐槽下