Skip to content

0.11.0

Latest

Choose a tag to compare

@Kyle-Ye Kyle-Ye released this 26 Oct 19:04
· 5 commits to main since this release
39c59d9

Milestone

New API support

  • ForEach
  • PositionLayout
  • LabeledContent
  • Transition system
import OpenSwiftUI

struct ContentView: View {
    @State private var opacities = [0, 0.5, 1.0]

    var body: some View {
        VStack(spacing: 0) {
            ForEach(opacities, id: \.self) { opacity in
                Color.red.opacity(opacity)
            }
        }.onAppear {
            DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
                withAnimation(.spring) {
                    opacities.insert(0.25, at: 1)
                    opacities.insert(0.75, at: 3)
                }
            }
        }
    }
}
截屏2025-10-27 03 03 44

Bug Fix

  • Fixed various miscellaneous issues

What's Changed

Full Changelog: 0.10.0...0.11.0