Function 関数

property_copyAttributeValue(_:_:)

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

Declaration 宣言

func property_copyAttributeValue(_ property: objc_property_t, 
                               _ attributeName: UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?

Parameters パラメータ

property

The property whose value you are interested in.

attributeName

A C string representing the name of the attribute.

Return Value 戻り値

The value string of the attributeName attribute, if one exists in property; otherwise, nil. You must free the returned value string with free().

See Also 参照