0
所以我需要用变量除以数字。 我该怎么做? 我知道DIV和MOD的C函数,但不知道如何在Objective-C/cocoa-touch中使用它们。这是我的代码的一个例子。Objective-C中划分变量
// hide the previous view
scrollView.hidden = YES;
//add the new view
scrollViewTwo.hidden = NO;
NSUInteger across;
int i;
NSUInteger *arrayCount;
// I need to take arrayCount divided by three and get the remainder
当我尝试使用/或%我得到的错误 “无效操作数为二进制表达式('NSUInteger和INT) 感谢您的帮助
Xcod e是一种IDE而不是语言。 – Nick