9#import <Foundation/Foundation.h>
11NS_ASSUME_NONNULL_BEGIN
47- (BOOL)addSearchInfo:(nullable NSString *)searchInfo addWords:(nullable NSArray *)words;
55- (BOOL)addDictionary:(nullable NSDictionary *)dictionary;
Maintains a persistent map of search keys to their expanded word lists, merging new entries into the ...
Definition SearchExpandEditor.h:18
nullable NSDictionary * getDictionary()
A snapshot copy of the current expansion dictionary.
Definition SearchExpandEditor.m:52
void loadDictionary()
Loads the persisted dictionary from the documents directory.
Definition SearchExpandEditor.m:80
void copyDictionary()
Copies the bundled seed dictionary into the documents directory, replacing any existing copy.
Definition SearchExpandEditor.m:20
void saveDictionary()
Saves the current dictionary as JSON to the documents directory.
Definition SearchExpandEditor.m:96
instancetype init()
Loads the persisted dictionary (or an empty one when none exists).
Definition SearchExpandEditor.m:41