No puedo entender por qué me saleerror extraño NSAssert
use of undeclared identifier _cmd did you mean rcmd
en la línea donde está NSAssert.
#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;
}
Explicación realmente buena ... ¡y aprendí algo sobre Objective-C! – Robert
+1 para NSCAssert – onmyway133