/NSProgressIndicator+Extras.m

http://github.com/bububa/MongoHub-Mac · Objective C · 24 lines · 11 code · 6 blank · 7 comment · 0 complexity · fcc03b3e6ed995faf7528a24b472442a MD5 · raw file

  1. //
  2. // NSProgressIndicator+Extras.m
  3. // MongoHub
  4. //
  5. // Created by Syd on 10-12-22.
  6. // Copyright 2010 ThePeppersStudio.COM. All rights reserved.
  7. //
  8. #import "NSProgressIndicator+Extras.h"
  9. @implementation NSProgressIndicator (Extras)
  10. - (void)start {
  11. [self startAnimation:self];
  12. [self setHidden:NO];
  13. }
  14. - (void)stop {
  15. [self setHidden:YES];
  16. [self stopAnimation:self];
  17. }
  18. @end