0.8.0
Pre-release
Pre-release
Milestone
- OpenObservation macro support
- macOS Animation support via CVDisplayLink
- RenderEffect support
- Transition API support
import OpenObservation
import OpenSwiftUI
@Observable
private class Model {
var showRed = false
}
struct ObservationExample: View {
@State private var model = Model()
private var showRed: Bool {
get { model.showRed }
nonmutating set { model.showRed = newValue }
}
var body: some View {
VStack {
Color(platformColor: showRed ? .red : .blue)
.frame(width: showRed ? 200 : 400, height: showRed ? 200 : 400)
}
.animation(.spring, value: showRed)
.onAppear {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
showRed.toggle()
}
}
}
}screnshot.mov
What's Changed
- Fix UnitPoint.animatableData by @Dark-Existed in #479
- [NFC] Migrate CoreGraphicsShims to OpenCoreGraphics repo by @Kyle-Ye in #481
- Update OpenGraph and OpenBox to OpenAttributeGraph and OpenRenderBox by @Kyle-Ye in #483
- [NFC] Update OpenCoreGraphics to fix CGSize.debugDescription issue by @Kyle-Ye in #482
- Add Claude Code GitHub Workflow by @Kyle-Ye in #484
- Add Claude.md by @Kyle-Ye in #485
- Add Observation support to OpenSwiftUI by @Kyle-Ye in #486
- Update documentation links for OpenObservation and OpenCombine by @Kyle-Ye in #487
- Update CLAUDE.md for GitBulter workflow compatibility by @Kyle-Ye in #489
- Add Observation support by @Kyle-Ye in #490
- Mics fix for EmptyView and TupleView by @Kyle-Ye in #491
- Add RenderEffect support by @Kyle-Ye in #492
- Implement EnvironmentalModifier by @Kyle-Ye in #493
- Update signpost message by @Kyle-Ye in #495
- Add VariableBlurEffect by @Kyle-Ye in #494
- Add Transition API by @Kyle-Ye in #496
- macOS Animation Support by @Mx-Iris in #497
- [NFC] Enable animation completion test for macOS by @Kyle-Ye in #498
Full Changelog: 0.7.3...0.8.0