在 lynda 的目标视频之后,我介绍了一个小问题,
#import <Foundation/Foundation.h>
#import "Player.h"
int main(int argc, const char * argv[])
{
@autoreleasepool {
Player *p = [[Player alloc] init];
NSLog(@"The score is @i", [p score]); <-- Data argument not used by format string
}
return 0;
}