another.im-ios/Monal/Classes/MLSettingCell.h

40 lines
715 B
C
Raw Normal View History

2024-11-18 14:53:52 +00:00
//
// MLSettingCell.h
// Monal
//
// Created by Anurodh Pokharel on 7/23/13.
//
//
#import <UIKit/UIKit.h>
@protocol MLSettingCellDelegate
-(void)updateUI;
@end
@interface MLSettingCell : UITableViewCell <UITextFieldDelegate>
@property (nonatomic, assign) BOOL switchEnabled;
@property (nonatomic, assign) BOOL textEnabled;
@property (nonatomic, weak) UIViewController* parent;
@property (nonatomic, weak) id <MLSettingCellDelegate> SettingCellDelegate;
/**
NSuserdefault key to use
*/
@property (nonatomic, strong) NSString* defaultKey;
/**
UIswitch
*/
@property (nonatomic, strong) UISwitch* toggleSwitch;
/**
Textinput field
*/
@property (nonatomic, strong) UITextField* textInputField;
@end