GSPartProperty Class Reference
Inherits from | NSObject |
Declared in | GSPartProperty.h |
Properties
axisId
A id to use as key in the piecesettings in the components
@property (strong, nonatomic) NSString *axisId
Discussion
this allows to change the name and not loose the settings
bottomName
The name of the bottom value
@property (strong, nonatomic) NSString *bottomName
Discussion
This is currently not used, so ignore it.
bottomValue
The lower value for the interpolation range
@property (assign, nonatomic) NSInteger bottomValue
topName
The name of the top value
@property (strong, nonatomic) NSString *topName
Discussion
This is currently not used, so ignore it.
Instance Methods
initWithDict:
Initialize the object with a dictionary
- (instancetype)initWithDict:(NSDictionary
*)dict
Parameters
- dict
-
The content of the dict as it is saved to the .glyphs file
The dict may look like this:
{ bottomValue = 40; name = Width; topValue = 100; }
Return Value
a new instance