Nie mogę zrozumieć, dlaczego mambłąd Weird NSAssert
use of undeclared identifier _cmd did you mean rcmd
na linii, gdzie NSAssert jest.
#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;
}
Naprawdę dobre wyjaśnienie ... i nauczyłem się czegoś o celu C! – Robert
+1 dla NSCAssert – onmyway133