<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICalendarSelection",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICalendarSelection"
  },
  "title" : "UICalendarSelection"
}
-->

# UICalendarSelection

A base object that tracks one or more dates a user selects from a calendar view.

```
@MainActor class UICalendarSelection
```

## Overview

Don’t use this object directly in your calendar view to track date selection. Use the subclass [`UICalendarSelectionSingleDate`](/documentation/UIKit/UICalendarSelectionSingleDate) to track a single date selection, or [`UICalendarSelectionMultiDate`](/documentation/UIKit/UICalendarSelectionMultiDate) to track multiple date selections.

## Topics

### Updating selectable dates

[`-  updateSelectableDates`](/documentation/UIKit/UICalendarSelection/updateSelectableDates())

Informs the calendar view to update the view for selectable dates.

## Relationships

### Conforms To

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

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

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

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

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

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

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

### Inherited By

[`UICalendarSelectionMultiDate`](/documentation/UIKit/UICalendarSelectionMultiDate)

[`UICalendarSelectionWeekOfYear`](/documentation/UIKit/UICalendarSelectionWeekOfYear)

[`UICalendarSelectionSingleDate`](/documentation/UIKit/UICalendarSelectionSingleDate)

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