Skip to content

Instantly share code, notes, and snippets.

View jordansinger's full-sized avatar

Jordan Singer jordansinger

View GitHub Profile
@jordansinger
jordansinger / finder.swift
Created January 6, 2024 20:17
finder-visionos
import SwiftUI
struct ContentView: View {
@State var selection: Set<Int> = [0]
@State var search = ""
var body: some View {
NavigationView {
List(selection: self.$selection) {
Section(header: Text("Favorites")) {
struct ContentView: View {
var body: some View {
VStack {
HStack {
Spacer()
Button { } label: {
Image(systemName: "power")
.resizable()
.aspectRatio(contentMode: .fill)
.padding()