GSPartProperty Class Reference
Inherits from | NSObject |
Tasks
-
– initWithDict:
-
– propertyList
-
name
property -
id
property -
bottomName
property -
bottomValue
property -
topName
property -
topValue
property
Properties
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
id
A id to use as key in the piecesettings in the components
@property (strong, nonatomic) NSString *id
Discussion
this allows to change the name and not loose the settings
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