Highlights
- Add RenderBox and Path basic ABI support
- Fix Transition Animation issue
- Add AsyncRender system support
import OpenSwiftUI
struct ContentView: View {
@State private var items = [6]
var body: some View {
VStack(spacing: 10) {
ForEach(items, id: \.self) { item in
Color.blue.opacity(Double(item) / 6.0)
.frame(height: 50)
.transition(.slide)
}
}
.animation(.easeInOut(duration: 2), value: items)
.onAppear {
items.removeAll { $0 == 6 }
}
}
}View 0x0000000103704330 at Time(seconds: 9.999930625781417e-07):
(display-list
(item #:identity 1 #:version 1
(frame (0.0 445.3333333333333; 402.0 50.0))
(content-seed 3)
(color #007AFFFF)))
Async view at Time(seconds: 0.0540470416599419):
(display-list
(item #:identity 1 #:version 7
(frame (0.052906036376953125 445.3333333333333; 402.0 50.0))
(content-seed 3)
(color #007AFFFF)))
...
Async view at Time(seconds: 2.0373803749971557):
(display-list
(item #:identity 1 #:version 364
(frame (402.0 445.3333333333333; 402.0 50.0))
(content-seed 3)
(color #007AFFFF)))
Async view at Time(seconds: 2.054047041659942):
(display-list)
View 0x0000000103704330 at Time(seconds: 2.054047041659942):
(display-list)
What's Changed
- Update availability macro by @Kyle-Ye in #641
- Add fallbackFont support by @Kyle-Ye in #640
- Update Text folder structure by @Kyle-Ye in #642
- Update EnvironmentAdditions by @Kyle-Ye in #644
- Add AppearsActive and WindowEnvironment API by @Kyle-Ye in #645
- Add Divider support by @Kyle-Ye in #646
- Fix StyleBodyAccessor style issue by @Kyle-Ye in #647
- Update Environment implementation by @Kyle-Ye in #648
- [NFC] Optimize logging code by @Kyle-Ye in #650
- [Test] Optimize DividerUITests test for colorScheme by @Kyle-Ye in #649
- Add Text+Encapsulation by @Kyle-Ye in #651
- Add ConcatenatedTextStorage by @Kyle-Ye in #652
- Add Slide and Move Transition by @Kyle-Ye in #654
- Update Text.Style by @Kyle-Ye in #657
- Update TextLayoutProperties by @Kyle-Ye in #658
- Fix subgraph not being retained by SubgraphElements.retain() by @jcmosc in #653
- Add Typesetting API for View and Text by @Kyle-Ye in #660
- Add RedactionReasons API by @Kyle-Ye in #661
- Add Anchor API implementation by @Kyle-Ye in #662
- Update Text+View by @Kyle-Ye in #663
- Add NSTextLineFragment and Text.Layout.Line.Line API by @Kyle-Ye in #667
- [NFC] Update file name and header information by @Kyle-Ye in #666
- Fix DynamicPreferenceCombiner returning early by @jcmosc in #659
- [Bug Fix] Fix index issue in DynamicContainer by @Kyle-Ye in #670
- Add SensoryFeedback API support by @Kyle-Ye in #668
- Fix unbounded intensity cache issue by @Kyle-Ye in #671
- Update PlatformDrawable API by @Kyle-Ye in #673
- Add WatchKit Sensory Feedback Implementation by @Kyle-Ye in #672
- Fix GraphHost.continueTransaction by @Dark-Existed in #675
- Fix DynamicLayoutMap.remove by @Dark-Existed in #674
- Implement CGPath related C API by @Kyle-Ye in #676
- Add requestsLayoutComputer = true by @pookjw in #679
- Add ORBPath integration by @Kyle-Ye in #680
- [NFC] Optimize shape related code by @Kyle-Ye in #681
- Update BlendMode by @Kyle-Ye in #682
- [NFC] Optimize overflow for ConditionalTypeDescription.project by @pookjw in #684
- [NFC] Optimize overflow for RandomAccessCollection.lowerBound by @pookjw in #683
- [NFC] Optimize _DynamicPropertyBuffer.addFields by @pookjw in #685
- [Bug Fix] Fix UIHostingViewBase pendingPreferencesUpdate and weak self issue by @Kyle-Ye in #686
- [Feature] Implement CustomRecursiveStringConvertible by @Kyle-Ye in #687
- [NFC] Optimize overflow for Collection.partitionPoint by @pookjw in #688
- [Test] Fix color mismatch on UI Compacibility test case by @Kyle-Ye in #689
- Add ViewGraphGeometryObservers API by @Kyle-Ye in #695
- Optimize overflow for DynamicContainerInfo.updateValue() by @pookjw in #692
- Optimize overflow for DynamicContainerInfo.updateValue() by @pookjw in #696
- Replace abs with max when calculating capacity by @pookjw in #694
- Update allUnary logic by @pookjw in #693
- Update ViewGraph.NextUpdate by @Kyle-Ye in #697
- Update syncMain implementation by @Kyle-Ye in #698
- Add notify API and add test case for ViewGraphGeometryObservers by @Kyle-Ye in #699
- Add initial async render support by @Kyle-Ye in #700
- Update _UIHostingView API by @Kyle-Ye in #702
- Add UIKitUpdateCycle API by @Kyle-Ye in #704
- Update UIHostingView by @Kyle-Ye in #703
- Fix DynamicContainer inusedCount issue by @Kyle-Ye in #705
- [Bug Fix] Fix transition issue in DynamicContainer by @Kyle-Ye in #706
- Fix incorrect index update in updateItems by @pookjw in #691
- [Bug Fix] Fix async render issue by @Kyle-Ye in #707
Full Changelog: 0.12.0...0.13.0