Inherits from NSObject
Conforms to NSCoding
NSCopying
Declared in GSSubstitution.h

Properties

back

Context glyphs (as glyph names) before the source.

@property (strong, nonatomic) NSString *back

fwd

Context glyphs after the source.

@property (strong, nonatomic) NSString *fwd

ignore

this is a ignore-substitution

@property (nonatomic) BOOL ignore

languageTags

the language tags

@property (strong, nonatomic) NSArray *languageTags

lookupFlag

the lookupFlag

@property (strong, nonatomic) NSString *lookupFlag

scriptTag

the script tag

@property (strong, nonatomic) NSString *scriptTag

source

The source glyphs.

@property (strong, nonatomic) NSString *source

target

The target glyphs.

@property (strong, nonatomic) NSString *target

Instance Methods

code

The substitution representation in FDK syntax.

- (NSString *)code

initWithCode:

Init with String in OT syntax.

- (instancetype)initWithCode:(NSString *)code

initWithDict:

Init with dictionary loaded from pList.

- (instancetype)initWithDict:(NSDictionary *)dict

propertyListValueFormat:

Returns the content of the object to store it in pList.

- (NSDictionary *)propertyListValueFormat:(GSFormatVersion)format

Parameters

format

the version of the dict

Discussion

This is used to store the data in the .glyphs file.