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

# property_copyAttributeList(_:_:)

Returns an array of property attributes for a given property.

## Declaration

```swift
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

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

## See Also

### Working with Properties

- [property_getName(_:)](objectivec/property_getname(_:).md)
- [property_getAttributes(_:)](objectivec/property_getattributes(_:).md)
- [property_copyAttributeValue(_:_:)](objectivec/property_copyattributevalue(_:_:).md)
