0.2.0
Pre-release
Pre-release
Milestone:
- Add initial render support for OpenSwiftUI ๐
import OpenSwiftUI
struct ContentView: View {
@State private var first = true
var color: Color {
Color(uiColor: first ? .red : .blue)
}
var body: some View {
color
.onAppear {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
first.toggle()
}
}
.id(first)
}
}Note
- Only color render is support by now.
- Currently we just use the SwiftUI Render.
- No layout system support and the size is hard-coded.
- Only iOS simulator platform is supported so far. (macOS support will be added later this week)
Follow the instruction in README to give it a try yourself.
What's Changed
- Update ViewTrait by @Kyle-Ye in #219
- Update Path and Shape by @Kyle-Ye in #220
- Add Silica's CGPath implementation by @Kyle-Ye in #222
- Add CATransform3D for non-Darwin platform by @Kyle-Ye in #221
- Fix destroy typo by @Kyle-Ye in #223
- Update UIKit+Representable interface and documentation by @Kyle-Ye in #224
- Add ViewThatFits interface by @Kyle-Ye in #225
- Add EdgeInset+ProtobufMessage by @Kyle-Ye in #226
- Update CoreGlue by @Kyle-Ye in #227
- Add NSHostingController and NSHostingView support by @Mx-Iris in #229
- Fix Xcode version issue by @Kyle-Ye in #241
- Add vscode mcp config by @Kyle-Ye in #239
- Add FloatingPoint+Extensions by @Kyle-Ye in #240
- Add zIndex API by @Kyle-Ye in #243
- Update Edge implementation by @Kyle-Ye in #244
- Add Spacing implementation by @Kyle-Ye in #245
- Add ViewSpacing implementation by @Kyle-Ye in #246
- Add Concurrency related API by @Kyle-Ye in #248
- Fix swift_beginAccess issue by @Kyle-Ye in #249
- Add DisplayGamut API by @Kyle-Ye in #247
- Update SystemColors by @Kyle-Ye in #250
- Fix CI issue by @Kyle-Ye in #251
- [Feature] Add iOS CoreUI linking support by @Kyle-Ye in #252
- Doc: add availability versions documentation and version map by @Kyle-Ye in #256
- Update License information by @Kyle-Ye in #257
- Fix isDeployedOnOrAfter by @Mx-Iris in #254
- Add Cache3 by @Dark-Existed in #255
- Update LayoutComputer by @Kyle-Ye in #258
- Update Stack documentation and test case by @Kyle-Ye in #260
- Update BloomFilter by @Kyle-Ye in #261
- Update Unmanaged+Extension by @Kyle-Ye in #262
- Add SymbolLocator dependency and OpenSwiftUISymbolDualTests by @Kyle-Ye in #263
- Update file name to align with ID by @Kyle-Ye in #264
- Fix xcconfig override issue by @Kyle-Ye in #265
- Fix AtomicBox deinit issue by @Kyle-Ye in #266
- Update PropertyList by @Kyle-Ye in #267
- Update EnvironmentValues by @Kyle-Ye in #268
- Update GraphReuse by @Kyle-Ye in #269
- [Feature] Add LeafDisplayList by @Kyle-Ye in #270
- Add initial rendering support for OpenSwiftUI by @Kyle-Ye in #271
- Update OpenSwiftUIShims for Darwin by @Kyle-Ye in #274
- Remove OPENSWIFTUI_RELEASE_2021 support by @Kyle-Ye in #275
- Remove WASM support by @Kyle-Ye in #277
- Fix TimerUtilsTest case by @Kyle-Ye in #278
- Fix CoreUI import issue by @Kyle-Ye in #279
- Add CoreUI xcframework in Example by @Kyle-Ye in #280
- Bump to Swift 6.1 Toolchain by @Kyle-Ye in #276
- Update werror for groups (Adopt SE443) by @Kyle-Ye in #281
- Add -no-verify-emitted-module-interface by @Kyle-Ye in #282
- Fix DisplayList update issue by @Kyle-Ye in #283
New Contributors
Full Changelog: 0.1.6...0.2.0
