Contents

class_replaceProperty(_:_:_:_:)

Replace a property of a class.

Declaration

func class_replaceProperty(_ cls: AnyClass?, _ name: UnsafePointer<CChar>, _ attributes: UnsafePointer<objc_property_attribute_t>?, _ attributeCount: UInt32)

Parameters

  • cls:

    The class to modify.

  • name:

    The name of the property.

  • attributes:

    An array of property attributes.

  • attributeCount:

    The number of attributes in attributes.

See Also

Working with Classes