Function

class_getProperty(_:_:)

Returns a property with a given name of a given class.

Declaration

func class_getProperty(_ cls: AnyClass!, _ name: UnsafePointer<Int8>!) -> objc_property_t!

Return Value

A pointer of type objc_property_t describing the property, or NULL if the class does not declare a property with that name, or NULL if cls is Nil.