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
Post a Comment