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.

Properties

entryFoundCallback

The callback to execute for each found macro.

@property (nonatomic, copy) DTLocalizableStringEntryFoundCallback entryFoundCallback

Declared In

DTLocalizableStringScanner.h

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