Skip to content

Instantly share code, notes, and snippets.

View paololeonardi's full-sized avatar

Paolo Leonardi paololeonardi

View GitHub Profile
import SwiftUI
import WaterfallGrid
let colors: [Color] = [.red, .green, .blue, .orange, .yellow, .pink, .purple]
let names = (0...6).map { "Text\($0)" }
let items: [Int] = (0...6).map { _ in Int.random(in: 0...6) }
struct ContentView: View {
var body: some View {
NavigationView {