Function

property_copyAttributeList(_:_:)

Returns an array of property attributes for a given property.

Declaration

func property_copyAttributeList(_ property: objc_property_t, _ outCount: UnsafeMutablePointer<UInt32>?) -> UnsafeMutablePointer<objc_property_attribute_t>?

Parameters

property

The property whose attributes you want to copy.

outCount

The number of attributes returned in the array.

Return Value

An array of property attributes. You must free the array with free().

See Also

Working with Properties

func property_getName(objc_property_t)

Returns the name of a property.

func property_getAttributes(objc_property_t)

Returns the attribute string of a property.

func property_copyAttributeValue(objc_property_t, UnsafePointer<Int8>)

Returns the value of a property attribute given the attribute name.