As a beginner of objective-C, from time to time I sTILl get caught in incorrect format string used in NSLog.
For example, I should use %f
for float and %@
for NSNumber. If I used %@ instead for float, obj-c will throw exception.
As a beginner of objective-C, from time to time I sTILl get caught in incorrect format string used in NSLog.
For example, I should use %f
for float and %@
for NSNumber. If I used %@ instead for float, obj-c will throw exception.