<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 15.4.0 -",
    "macOS: 12.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMediaIO",
  "identifier" : "/documentation/CoreMediaIO/CMIOExtensionPropertyState",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Media I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)CMIOExtensionPropertyState"
  },
  "title" : "CMIOExtensionPropertyState"
}
-->

# CMIOExtensionPropertyState

An object that describes the state of a property.

```
class CMIOExtensionPropertyState<ObjectType> where ObjectType : AnyObject
```

## Overview

Create a property state object by specifying the type of data it stores, which must be a <doc://com.apple.documentation/documentation/Foundation/NSString>, <doc://com.apple.documentation/documentation/Foundation/NSNumber>, <doc://com.apple.documentation/documentation/Foundation/NSDictionary>, <doc://com.apple.documentation/documentation/Foundation/NSArray>, or <doc://com.apple.documentation/documentation/Foundation/NSData>. You can optionally specify attributes that restrict the range of values a property allows.

## Topics

### Creating a Property State

[`+ (instancetype) propertyStateWithValue:(ObjectType) value;`](/documentation/CoreMediaIO/CMIOExtensionPropertyState/propertyStateWithValue:)

Returns a new property state with a value.

[`+ (instancetype) propertyStateWithValue:(ObjectType) value attributes:(CMIOExtensionPropertyAttributes<id> *) attributes;`](/documentation/CoreMediaIO/CMIOExtensionPropertyState/propertyStateWithValue:attributes:)

Returns a new property state with a value and attributes.

[`convenience init(value: ObjectType?)`](/documentation/CoreMediaIO/CMIOExtensionPropertyState/init(value:))

Creates a property state with a value.

[`init(value: ObjectType?, attributes: CMIOExtensionPropertyAttributes<ObjectType>?)`](/documentation/CoreMediaIO/CMIOExtensionPropertyState/init(value:attributes:))

Creates a property state with a value and attributes.

### Inspecting a Property State

[`var value: ObjectType?`](/documentation/CoreMediaIO/CMIOExtensionPropertyState/value)

The value for a property state.

[`var attributes: CMIOExtensionPropertyAttributes<ObjectType>?`](/documentation/CoreMediaIO/CMIOExtensionPropertyState/attributes)

The attributes for a property state.

### Initializers

[`init?(coder: NSCoder)`](/documentation/CoreMediaIO/CMIOExtensionPropertyState/init(coder:))

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)