Skip to content

Instantly share code, notes, and snippets.

//
// TextFieldRepresented.swift
// LessonKeeper-macOS
//
// Created by John Nastos on 1/16/22.
// Copyright © 2022 John Nastos. All rights reserved.
//
import SwiftUI
import AppKit
@jnpdx
jnpdx / gist:7cd8f2c01359361dc0c17389332197d8
Created October 15, 2021 18:31
Mac 3 column navigation with scroll issue
import SwiftUI
struct Folder : Identifiable, Hashable {
let id = UUID()
var name : String
var items : [Item]
}
struct Item : Identifiable, Hashable {
let id = UUID()