Bumped Version. Added descriptions to autotype commands

This commit is contained in:
michael starke
2014-12-01 17:42:35 +01:00
parent 49c73afcfb
commit afb8c63d02
6 changed files with 19 additions and 4 deletions

View File

@@ -21,10 +21,14 @@
return self;
}
- (NSString *)description {
return [[NSString alloc] initWithFormat:@"%@ delay: %ld ms", [self class], _delay];
}
- (instancetype)initWithDelay:(NSUInteger)delay {
self = [super init];
if(self) {
/* Delays longer than a minute are a bit lon */
/* Delays longer than a minute are a bit long */
_delay = MIN(60,delay);
}
return self;