Marvin Lee Kobert
Schulstraße 19
37434 Gieboldehausen
Email: marvin.kobert (at) posteo.de
// | |
// CustomNavigationStack.swift | |
// | |
import SwiftUI | |
struct CustomNavigationStack<Content: View>: View { | |
@Binding var path: NavigationPath | |
@ViewBuilder var content: Content |
// Created by Marvin Lee Kobert on 29.07.23. | |
// | |
// | |
import SwiftUI | |
// MARK: Item Model | |
struct Item: Identifiable, Hashable { | |
let id: UUID | |
let title: String |
import SwiftUI | |
struct ContentView: View { | |
let size: CGSize = CGSize(width: 200, height: 200) | |
@State private var positions = [CGRect]() | |
@State private var counter = 0 | |
var body: some View { | |
ZStack { | |
ForEach(positions, id: \.self) { position in |