ios - Data argument not used by format string -



ios - Data argument not used by format string -

following videos on lynda's objective c i've ran intro little problem,

#import <foundation/foundation.h> #import "player.h" int main(int argc, const char * argv[]) { @autoreleasepool { player *p = [[player alloc] init]; nslog(@"the score @i", [p score]); <-- info argument not used format string } homecoming 0; }

you don't have valid format string. want %i, not @i.

ios objective-c c xcode

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -