0.6.0
Pre-release
Pre-release
Milestone:
- Add HVStack, Padding and Spacer support
- Add offset and GeometryEffect support
import OpenSwiftUI
struct ContentView: View {
var body: some View {
VStack {
HStack {
Color.red.frame(width: 40, height: 40)
Spacer()
Color.blue.frame(width: 40, height: 40)
}
Spacer()
Color.blue
.frame(width: 80, height: 60)
.background(Color.red.offset(x: -20, y: -15))
.overlay(Color.green.offset(x: 20, y: 15))
Spacer()
HStack(spacing: 40) {
Color.green.frame(width: 40, height: 40)
Color.yellow.frame(width: 40, height: 40)
}
}
.frame(width: 200, height: 200)
.background(Color.gray.opacity(0.3))
}
}
What's Changed
- Update prompt by @Kyle-Ye in #366
- Update Logging API by @Kyle-Ye in #365
- Add initial HVStack layout support by @Kyle-Ye in #367
- Add spacing support for HVStack by @Kyle-Ye in #368
- Add insertion sort extension to BidirectionalCollection by @Kyle-Ye in #371
- [Bugfix] Fix isIdentityUnaryLayout not take effect for staticCount 1 layout by @Kyle-Ye in #372
- Fix StackLayout's sizeChildrenGenerallyWithConcreteMajorProposal implementation by @Kyle-Ye in #369
- Add padding support by @Kyle-Ye in #373
- Update ViewSystem for CALayer by @Kyle-Ye in #374
- Add GestureDebug.ChildrenBox and implement GesturePhase.descriptionWithoutValue by @Kyle-Ye in #375
- Optimize Benchmark summary output by @Kyle-Ye in #376
- Update diff tool to use odiff by @Kyle-Ye in #378
- Add Spacer support by @Kyle-Ye in #380
- Add RendererEffect support by @Kyle-Ye in #379
- Add remove global actor isolation by @Kyle-Ye in #381
- Fix typo in setRootTestView method by @Kyle-Ye in #382
Full Changelog: 0.5.0...0.6.0