swift swift-package-manager swiftui
The package consists of the only product:
- CircumferenceLayout
- Open /Sources/CircumferenceLayout/Sources/CircumferenceLayout.swift
- Press ⌘ + A to select all.
- Press ⌘ + C to copy.
- Press ⌘ + V to paste.
Read the documentation.
Read the article.
import SwiftUI
internal struct ContentView: View {
internal var body: some View {
CircumferenceLayout() {
ForEach(.zero..<8, id: \.self) { integer in
Text("Text \(integer)")
}
}
}
}
circumference-layout is licensed under the GPL-3.0 license. See the LICENSE for more information.
docker run --privileged --interactive --tty --name swift-latest swift:latest /bin/bash