Declared in NSString+DTLocalizableStringScanner.h

Overview

Helper methods for string parsing

Instance Methods

stringByAddingSlashEscapes

Escapes control characters with slash escapes

- (NSString *)stringByAddingSlashEscapes

Return Value

The receiver’s content with control characters slash-escaped

Declared In

NSString+DTLocalizableStringScanner.h

stringByDecodingUnicodeSequences

Decodes unicode sequences found in the receiver

- (NSString *)stringByDecodingUnicodeSequences

Return Value

The decoded string

Declared In

NSString+DTLocalizableStringScanner.h

stringByNumberingFormatPlaceholders

Adds format placeholder numbering to the receiver

- (NSString *)stringByNumberingFormatPlaceholders

Return Value

A new string with placeholders numbered

Declared In

NSString+DTLocalizableStringScanner.h

stringByRemovingSurroundingQuotes

Change “foo” to foo. This will remove just one set of quotes, so that e.g. “"foo”“ becomes "foo” If the string does not begin and end with a quote, returns it unmodified.

- (NSString *)stringByRemovingSurroundingQuotes

Return Value

The string with one set of surrounding quotes removed.

Declared In

NSString+DTLocalizableStringScanner.h

stringByReplacingSlashEscapes

Replaces slash escapes with the original characters

- (NSString *)stringByReplacingSlashEscapes

Return Value

The receiver with slash-escapes replaced

Declared In

NSString+DTLocalizableStringScanner.h

variantsFromPredicateVariations

Determine predicate variations

- (NSArray *)variantsFromPredicateVariations

Return Value

An array with all predicate variations

Declared In

NSString+DTLocalizableStringScanner.h