#import #import "FutureSource.h" #import "LocalizableCustomFontLabel.h" #import "SettingsTableHeaderView.h" /** * * SettingsViewController displays a list of settings in sections which can animate between being expanded or collapsed. * The expanded/collapsed preference of the sections is remembered by the preference util. * Table cell text labels are localized by setting them to a custom label class that has a localization key which are both set in the xib - * and localized when the cell appears. * Preferences are saved to preference util when tapped. * */ @interface SettingsViewController : UIViewController @property (nonatomic, strong) IBOutlet UITableView *settingsTableView; @property (nonatomic, strong) IBOutlet UILabel *phoneNumberLabel; @property (nonatomic, strong) IBOutlet UILabel *titleLabel; @property (nonatomic, strong) IBOutlet SettingsTableHeaderView *privacyAndSecurityHeaderView; @property (nonatomic, strong) IBOutlet SettingsTableHeaderView *debuggingHeaderView; @property (nonatomic, strong) IBOutlet UITableViewCell *hideContactImagesCell; @property (nonatomic, strong) IBOutlet UITableViewCell *disableAutocorrectCell; @property (nonatomic, strong) IBOutlet UITableViewCell *disableHistoryCell; @property (nonatomic, strong) IBOutlet UITableViewCell *clearHistoryLogCell; @property (nonatomic, strong) IBOutlet UITableViewCell *disableLogsCell; @property (nonatomic, strong) IBOutlet UITableViewCell *enableScreenSecurityCell; @property (nonatomic, strong) IBOutlet UIButton *hideContactImagesButton; @property (nonatomic, strong) IBOutlet UIButton *disableAutocorrectButton; @property (nonatomic, strong) IBOutlet UIButton *disableHistoryButton; @property (nonatomic, strong) IBOutlet UIButton *disableDebugLogsButton; @property (nonatomic, strong) IBOutlet UIButton *enableScreenSecurityButton; @property (nonatomic, strong) IBOutlet UITableViewCell *sendDebugLog; - (IBAction)registerTapped; - (IBAction)privacyAndSecurityTapped; - (IBAction)debuggingTapped:(id)sender; - (IBAction)hideContactImagesButtonTapped; - (IBAction)disableAutocorrectButtonTapped; - (IBAction)disableHistoryButtonTapped; - (IBAction)disableLogTapped:(id)sender; - (IBAction)enableScreenSecurityTapped:(id)sender; - (IBAction)menuButtonTapped; @end