iOS web browser with a focus on security and privacy
at master 25 lines 754 B view raw
1/* 2 * Endless 3 * Copyright (c) 2014-2017 joshua stein <jcs@jcs.org> 4 * 5 * See LICENSE file for redistribution terms. 6 */ 7 8#import <UIKit/UIKit.h> 9#import "AppDelegate.h" 10#import "RuleEditorRow.h" 11 12@interface RuleEditorController : UITableViewController <UISearchBarDelegate, UISearchDisplayDelegate, UITableViewDelegate> 13 14@property AppDelegate *appDelegate; 15@property NSMutableArray<RuleEditorRow *> *sortedRuleRows; 16@property NSMutableArray<RuleEditorRow *> *inUseRuleRows; 17 18@property UISearchBar *searchBar; 19@property NSMutableArray<RuleEditorRow *> *searchResult; 20 21- (NSString *)ruleDisabledReason:(RuleEditorRow *)row; 22- (void)disableRuleForRow:(RuleEditorRow *)row withReason:(NSString *)reason; 23- (void)enableRuleForRow:(RuleEditorRow *)row; 24 25@end