<!--
{
  "documentType" : "article",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/interactiontypes-set-properties-and-methods",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Set properties and methods"
}
-->

# Set properties and methods

The properties and methods that conform to the option set protocol.

## Topics

### Creating sets

[`init(rawValue: UInt)`](/documentation/VisionKit/ImageAnalysisInteraction/InteractionTypes/init(rawValue:))

Creates an instance from a raw type.

[`var rawValue: UInt`](/documentation/VisionKit/ImageAnalysisInteraction/InteractionTypes/rawValue)

The corresponding value of the raw type.

### Testing for membership

### Adding and removing elements

### Combining and subtracting sets

### Comparing sets

### Operator function

### Type aliases



---

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)