RBThemeGlyphReference Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBThemeGlyphReference.h |
imageName
The name of the glyph image.
@property (nonatomic, nullable) NSString *imageName
Discussion
The name of the glyph image.
Declared In
RBThemeGlyphReference.h
colorReferenceName
The reference name of the color to use for the glyph.
@property (nonatomic, nullable) NSString *colorReferenceName
Discussion
The reference name of the color to use for the glyph.
Declared In
RBThemeGlyphReference.h
colorHexCode
The hexadecimal RGB/RGBA color code to use for the glyph.
@property (nonatomic, nullable) NSString *colorHexCode
Discussion
The hexadecimal RGB/RGBA color code to use for the glyph.
Declared In
RBThemeGlyphReference.h
desiredHeight
The desired height of the glyph in pt, or nil
to preserve the original size.
@property (nonatomic, nullable) NSNumber *desiredHeight
Discussion
The desired height of the glyph in pt, or nil
to preserve the original size.
Declared In
RBThemeGlyphReference.h
– parseReferenceString:error:
Parses the given glyph reference string, extracting the components found into the properties of the receiver.
- (void)parseReferenceString:(nonnull NSString *)referenceString error:(NSError *_Nullable *_Nullable)error
Parameters
referenceString |
The glyph reference string to parse. |
---|---|
error |
A pointer to an |
Discussion
Parses the given glyph reference string, extracting the components found into the properties of the receiver.
Declared In
RBThemeGlyphReference.h
referenceString
The glyph reference string that describes the contents of this object.
@property (nonatomic, readonly, nonnull) NSString *referenceString
Discussion
The glyph reference string that describes the contents of this object.
Declared In
RBThemeGlyphReference.h
colorIsReference
Whether or not the color is a reference name.
@property (nonatomic, readonly) BOOL colorIsReference
Discussion
Whether or not the color is a reference name.
Declared In
RBThemeGlyphReference.h
isValid
Whether or not this glyph reference is valid.
@property (nonatomic, readonly) BOOL isValid
Discussion
Whether or not this glyph reference is valid.
Declared In
RBThemeGlyphReference.h
+ valueIsReferenceString:
Determines whether or not the given value is a valid glyph reference string.
Also checks the object type of value
and ignores non-strings.
+ (BOOL)valueIsReferenceString:(nonnull id)value
Parameters
value |
The value to check. |
---|
Return Value
Whether or not the value is a valid glyph reference string.
Discussion
Determines whether or not the given value is a valid glyph reference string.
Also checks the object type of value
and ignores non-strings.
Declared In
RBThemeGlyphReference.h