GSClass Class Reference
Inherits from | NSObject |
Conforms to | NSCoding NSCopying |
Declared in | GSClass.h |
Properties
automatic
if the class is replaced on automatic feature generation.
@property (nonatomic) BOOL automatic
canBeAutomated
of the featureGenerator can generate the class
@property (nonatomic, readonly) BOOL canBeAutomated
code
The content of the class
@property (strong, nonatomic) NSString *code
Discussion
Normally glyph names seperated my spaces.
Instance Methods
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.
setTempData:forKey:
Adds key/value to tempData. Pass nil as value to remove previous set data
- (void)setTempData:(nullable id)value
forKey:(nonnull NSString *)key
Parameters
- value
-
and object or nil
- key
-
the key
tempDataForKey:
return value for key in tempData
- (nullable id)tempDataForKey:(nonnull NSString
*)key
Parameters
- key
-
the key
Return Value
a value or nil