私はNSAssertがあるライン上の奇妙なエラーNSAssert
use of undeclared identifier _cmd did you mean rcmd
を取得し、なぜ私が理解することはできません。
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int x = 10;
NSAssert(x > 11, @"x should be greater than %d", x);
[pool drain];
return 0;
}
本当に良い説明...そして私は客観的なCについて何かを学んだ! – Robert
+1 NSCAssert – onmyway133