मैं समझ नहीं क्यों मैं लाइन जहां 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;
}
वास्तव में अच्छी व्याख्या ... और मैंने उद्देश्य-सी के बारे में कुछ सीखा! NSCAssert के लिए – Robert
+1 – onmyway133