Dale Myers

2pods

DMCore

A collection of classes and categories to make development simpler. Instead of having to remember the best practice to shuffle an array, you can now call [myArray dm_Shuffle]. Want the MD5 of a string? [myString dm_MD5Hash]

License: MIT

  • Objective C

DMTime

CocoaTime

A simple Objective-C timer for timing code.

Examples

[DMTime startTimer:@"Some key"];
// Some long running process
DMTimeResult *result = [DMTime endTimer:@"Some key"];
NSLog(@"Code took %f seconds", [result seconds]);

Or if you prefer blocks:

DMTimeResult *result = [DMTime timeBlock:^{
// Some long running process
}];
NSLog(@"Code took %f milliseconds", [result milliseconds]);

License: MIT

  • Objective C