/* * Endless * Copyright (c) 2014-2017 joshua stein * * See LICENSE file for redistribution terms. */ #import #import "AppDelegate.h" #import "RuleEditorRow.h" @interface RuleEditorController : UITableViewController @property AppDelegate *appDelegate; @property NSMutableArray *sortedRuleRows; @property NSMutableArray *inUseRuleRows; @property UISearchBar *searchBar; @property NSMutableArray *searchResult; - (NSString *)ruleDisabledReason:(RuleEditorRow *)row; - (void)disableRuleForRow:(RuleEditorRow *)row withReason:(NSString *)reason; - (void)enableRuleForRow:(RuleEditorRow *)row; @end