DTLocalizableStringScanner Class Reference
Inherits from | NSOperation |
Declared in | DTLocalizableStringScanner.h |
Overview
Source Code scanner operation, based on NSOperation
. Scans a a source file and emits an entryFoundCallback whenever a new localized string Macro is encountered.
Instance Methods
initWithContentsOfURL:encoding:validMacros:
Creates a source scanner operation.
- (id)initWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)encoding validMacros:(NSDictionary *)validMacros
Parameters
- url
The file URL of the file to scan
- encoding
The string encoding of the source file
- validMacros
The macro prototypes that are considered valid
Declared In
DTLocalizableStringScanner.h