0.9.0
Pre-release
Pre-release
Milestone
- visionOS build support
- Timeline API support
import OpenSwiftUI
struct ContentView: View {
var body: some View {
TimelineView(.animation) { context in
let time = context.date.timeIntervalSince1970
ZStack {
Color(hue: (sin(time * 0.5) + 1) / 2, saturation: 0.8, brightness: 0.9)
Color(hue: (cos(time * 2) + 1) / 2, saturation: 1.0, brightness: 1.0)
.frame(width: 100 + sin(time * 3) * 20, height: 100 + sin(time * 3) * 20)
}
}
}
}Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-09-15.at.02.10.03.mp4
2025-09-15.02.15.11.mov
What's Changed
- Add visionOS support by @Kyle-Ye in #499
- Add Timeline and Animation functionality by @Kyle-Ye in #500
- Add usage of _ViewInputs.textAlwaysOnProvider by @Kyle-Ye in #501
- [Bug Fix] Fix macOS animation and visionOS build issue by @Kyle-Ye in #506
Full Changelog: 0.8.0...0.9.0