0.16.0
Highlights
- Add NS/UIApplicationDelegateAdapter support
- Add Compute backend support as an alternative to AttributeGraph
- Add NamedImage support for bundle image and system image
import AppKit
import OpenSwiftUI
struct ExampleApp: App {
@NSApplicationDelegateAdaptor(AppDelegate.self)
private var appDelegate
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
struct ContentView: View {
var body: some View {
SunsetSceneExample()
}
}
private class AppDelegate: NSResponder, NSApplicationDelegate {
var window: NSWindow?
func applicationWillFinishLaunching(_ notification: Notification) {
return
}
}
What's Changed
- Update UIKitDisplayList and AppKitDisplayList by @Kyle-Ye in #787
- Add CAHostingLayerPlatformDefinition by @Kyle-Ye in #788
- Add VariableBlurEffect support by @Kyle-Ye in #789
- Update CoreView and CoreImage API by @Kyle-Ye in #794
- Fix SafeAreaPaddingModifier by @Dark-Existed in #793
- Add ApplicationDelegateAdapter support by @Kyle-Ye in #796
- Fix ForEach crash for nested MultiViewRoot by @Kyle-Ye in #795
- [Build] Fix AG related build issue by @Kyle-Ye in #798
- Update OpenAttributeGraph integration and add Compute backend support by @Kyle-Ye in #800
- Update OpenAttributeGraph dependency by @Kyle-Ye in #801
- Fix IndirectOptional wrappedValue setter by @Kyle-Ye in #802
- Fix ObservableExampleApp build issue for SUI by @Kyle-Ye in #803
- Add Foundation ProtobufMessage conformances (URL, UUID, Data, Locale) by @Kyle-Ye in #804
- Add NamedImage API support by @Kyle-Ye in #806
- Update NamedImage and fix Linux build by @Kyle-Ye in #808
- [NFC] Fix example build and identifier issue by @Kyle-Ye in #809
- Add SFSymbols direct linking support via DarwinPrivateFrameworks by @Kyle-Ye in #810
- Fix SFSymbols build and link issue by @Kyle-Ye in #811
- Optimize OPENSWIFTUI_LINK_COREUI check by @Kyle-Ye in #812
- Add Shared assets for Example project by @Kyle-Ye in #813
- Fix NamedImage crash for bundle image by @Kyle-Ye in #814
- Fix named image mask rendering and load system vector image issue by @Kyle-Ye in #815
- Fix image rendering and add vector glyph support by @Kyle-Ye in #816
- Remove release mode test steps from CI by @Kyle-Ye in #818
Full Changelog: 0.15.0...0.16.0