mailiverse/cpp/iOS/Mailiverse/Components/UISearchBarWithActivity.h

18 lines
446 B
C
Raw Normal View History

2013-07-25 22:51:23 -04:00
/**
* Author: Timothy Prepscius
* License: BSD + keep my name in the code!
*/
#import <UIKit/UIKit.h>
@interface UISearchBarWithActivity : UISearchBar
{
UIActivityIndicatorView *activityIndicatorView;
}
@property(retain) UIActivityIndicatorView *activityIndicatorView;
- (void)startActivity; // increments startCount and shows activity indicator
- (void)finishActivity; // decrements startCount and hides activity indicator if 0
@end