Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在语法上声明这个块是正确的,它仍然抛出错误请告诉我我在这个声明中做错了什么。
替换喜欢:
[arrToggelButton enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) { //Write Your code }];
快乐的编码...
这是不对的。方法参数需要一个采用无符号整数 ( NSUInteger) 的块,而您声明了一个有符号整数参数 ( NSInteger)。
NSUInteger
NSInteger