GSHint Class Reference
Properties
parentLayer
More specifically typed convenience getter for the generic
parent
property declared by GSShape
.
@property (weak, nonatomic, nullable, readonly) GSLayer
*parentLayer
Instance Methods
initWithDict:format:
initialises a element with a dictionary loaded from a pList.
- (instancetype)initWithDict:(NSDictionary
*_Nonnull)hintDict
format:(GSFormatVersion)formatVersion
Parameters
- dict
-
The property list representation
- formatVersion
-
the version of the property list
Return Value
a element object
Discussion
Inits with a dict.
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