Skip to content

Instantly share code, notes, and snippets.

View Mika5652's full-sized avatar
🏠
Working from home

Michael Pohl Mika5652

🏠
Working from home
View GitHub Profile
@sroebert
sroebert / LockableViewExample.swift
Created September 8, 2023 22:08
SwiftUI LockableView
import SwiftUI
import UIKit
struct ContentView: View {
@State private var isLocked = false
@State private var isSheetVisible = false
var body: some View {
LockableView(isLocked: isLocked) {