Instance Method
insertProperty(_:at:) insertObject:inPropertiesAtIndex: insertObject_inPropertiesAtIndex_
Inserts a font info property at an index.
Declaration
func insertProperty(_ property: GSInfoProperty, at idx: UInt)Declaration
- (void) insertObject:(GSInfoProperty *) property inPropertiesAtIndex:(NSUInteger) idx;Declaration
insertObject_inPropertiesAtIndex_(property: GSInfoProperty, idx: int)Parameters
propertyThe font info property to insert.
idxAn index from zero through countOfProperties()countOfPropertiescountOfProperties.
Discussion
The property becomes owned by the font.
See Also
Properties
The font info properties stored in the font.
The number of font info properties.
The font info property at an index, or
nilwhen the index is out of range.The index of a font info property, or
nilwhen the property is not in the font.The font info property for a property name, or
nilwhen the font has no matching property.The localized font info value for a property name and language tag, or
nilwhen the font has no matching value.The default-language value for a font info property, or
nilwhen the font has no matching value.Sets a font info value for a property name and language tag.
Sets the default-language value for a font info property.
Adds a font info property.
Adds a font info property without undo registration or change notifications.
Removes a font info property.
Removes the font info property at an index.
The font info property names supported by the font.
The preferred localized family names.
See Also
Properties
The font info properties stored in the font.
The number of font info properties.
The font info property at an index, or
nilwhen the index is out of range.Returns the index of a font info property, or
NSNotFoundwhen the property is not in the font.The font info property for a property name, or
nilwhen the font has no matching property.The localized font info value for a property name and language tag, or
nilwhen the font has no matching value.The default-language value for a font info property, or
nilwhen the font has no matching value.Sets a font info value for a property name and language tag.
Sets the default-language value for a font info property.
Adds a font info property.
Adds a font info property without undo registration or change notifications.
Removes a font info property.
Removes the font info property at an index.
The font info property names supported by the font.
The preferred localized family names.