mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-18 15:05:02 -05:00
21 lines
493 B
Objective-C
21 lines
493 B
Objective-C
/**
|
|
* Author: Timothy Prepscius
|
|
* License: BSD + keep my name in the code!
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#include "MMTypes.h"
|
|
|
|
@interface UIToggleBarButtonItem : UIBarButtonItem
|
|
|
|
@property (assign, nonatomic) BOOL state;
|
|
@property (strong, nonatomic) NSObject *user;
|
|
@property (nonatomic, unsafe_unretained) SEL toggleSelector;
|
|
|
|
- (id)initWithTitle:(NSString *)title style:(UIBarButtonItemStyle)style target:(id)target action:(SEL)action user:(id)user;
|
|
|
|
- (BOOL) click;
|
|
- (void) reset;
|
|
|
|
@end
|