-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
ChiefVenzox edited this page Jun 5, 2026
·
6 revisions
In Xcode, choose File > Add Package Dependencies... and use:
https://github.com/ChiefVenzox/SwiftBlocks.git
Then import the package:
import SwiftUI
import SwiftBlocks#Preview {
EDKDesignCanvas()
}The canvas includes a palette, an iPhone-sized design surface, and an inspector. Drag blocks from the palette, tap to select, drag to move, and use the resize handle to change dimensions.
EDKButton("Continue", style: EDKComponentStyle(variant: .primary)) {
print("Continue")
}EDKSurface(style: EDKComponentStyle(variant: .glass, cornerRadius: 14)) {
Text("Liquid Glass surface")
}