<!--
{
  "documentType" : "article",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/analysistypes-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/ImageAnalyzer/AnalysisTypes/init(rawValue:))

Creates an analysis type with the given value.

[`var rawValue: UInt`](/documentation/VisionKit/ImageAnalyzer/AnalysisTypes/rawValue)

A unique, underlying value for the analysis type.

### Testing for membership

### Adding and removing elements

### Combining and subtracting sets

### Comparing sets

### 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)