Skip to content

Commit

Permalink
updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagons committed Sep 27, 2019
1 parent 5b13651 commit e5a4437
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
# UI3

A description of this package.
3D UI lib for SwiftUI

[Stacks](https://github.com/hexagons/UI3/blob/master/ui3_stacks.png?raw=true)

~~~~swift
import SwiftUI
import UI3

struct ContentView: View {
var body: some View {
ZStack {
Color.gray
.edgesIgnoringSafeArea(.all)
UI3 {
HStack {
Box()
.chamferRadius(0.05)
VStack {
Box()
.chamferRadius(0.05)
ZStack {
Box()
.chamferRadius(0.05)
Box()
.chamferRadius(0.05)
}
}
}
}
}
}
}
~~~~

0 comments on commit e5a4437

Please sign in to comment.