Objective-Cの残念な子なところ - soutaroブログ それ、(ARC使っていれば)RAIIでもっと簡潔にできると思います。 @interface AutoTimer : NSObject -(void)report; @end @implementation AutoTimer { NSString *label; NSDate *start; } -(id)initWithLabel:(NSString*)labelText { self = [super init]; if (self) { label = labelText; start = [NSDate date]; } return self; } -(void)report { NSLog(@"%@: %g[sec]", label, -[start timeIntervalSinceNow]); } -(vo