mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-18 23:15:03 -05:00
18 lines
446 B
Objective-C
18 lines
446 B
Objective-C
/**
|
|
* 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 |