Returns the attribute string of a property.


func property_getAttributes(_ property: objc_property_t) -> UnsafePointer<Int8>?

Return Value

A C string containing the property's attributes.


The format of the attribute string is described in Declared Properties in Objective-C Runtime Programming Guide.

See Also

Working with Properties

func property_getName(objc_property_t)

Returns the name of a property.

func property_copyAttributeValue(objc_property_t, UnsafePointer<Int8>)

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

func property_copyAttributeList(objc_property_t, UnsafeMutablePointer<UInt32>?)

Returns an array of property attributes for a given property.