<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ExplicitTimelineSchedule/init(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI24ExplicitTimelineScheduleVyACyxGxcfc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Creates a schedule composed of an explicit sequence of dates.

```
init(_ dates: Entries)
```

## Parameters

`dates`

The sequence of dates at which a timeline view
updates. Use a monotonically increasing sequence of dates,
and ensure that at least one is in the future.

## Discussion

Use the [`entries(from:mode:)`](/documentation/SwiftUI/ExplicitTimelineSchedule/entries(from:mode:)) method
to get the sequence of dates.

---

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)