- Declared In:
- NSBundle+misc.h
- - loadAllParsingDictionariesFromFolder:
- - pathsToParsingDictionariesFromFolder:
- - compareBundleName:
- - localizedStringForKey:
- (NSComparisonResult)compareBundleName:(NSBundle *)inBundle
Compare this bundle's localized name with another's. Used to sort bundles by their names.
- (NSDictionary *)loadAllParsingDictionariesFromFolder:(NSString *)inFolder
Find all the parsing dictionaries in the given sub-folder name (or nil, for no sub-folder) of Resources in the package. The bundle ID indicates the "external" dictionaries to be found in a Library/Application Support/Watson/Dictionaries/bundleID/subfolder
- (NSString *)localizedStringForKey:(NSString *)inKey
Lookup a key and return its localized value
- (NSArray *)pathsToParsingDictionariesFromFolder:(NSString *)inFolderName
Return an array of paths that might contain parsing dictionaries, given the subfolder name specified as inFolderName. This will create a path list from all domains within Library/Application Support/Watson/(bundle identifier)/inFolderName, plus the tool's own resource path, for built-in plists.