EGOPOLY

Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

How to Log Numbers in ObjC

2014-11-27 07:42

From Brent Simmons blog this weird trick

NSLog(@"t: %@", @([d2 timeIntervalSinceDate:d]));

I love the "weird trick" riff.