---
title: "property_getName(_:)"
framework: Objective-C Runtime
role: symbol
role_heading: Function
platforms: [iOS 2.0+, iPadOS 2.0+, Mac Catalyst 13.1+, macOS 10.5+, tvOS 9.0+, visionOS 1.0+, watchOS 1.0+]
path: "objectivec/property_getname(_:)"
---

# property_getName(_:)

Returns the name of a property.

## Declaration

```swift
func property_getName(_ property: objc_property_t) -> UnsafePointer<CChar>
```

## Return Value

Return Value A C string containing the property’s name.

## See Also

### Working with Properties

- [property_getAttributes(_:)](objectivec/property_getattributes(_:).md)
- [property_copyAttributeValue(_:_:)](objectivec/property_copyattributevalue(_:_:).md)
- [property_copyAttributeList(_:_:)](objectivec/property_copyattributelist(_:_:).md)
