Skip to content

Instantly share code, notes, and snippets.

View mariuspenteliuc's full-sized avatar

Dr. Marius E. Penteliuc mariuspenteliuc

View GitHub Profile
@fatbobman
fatbobman / interactiveDismissDisabledExtension.swift
Created September 15, 2021 06:25
SwiftUI interactiveDismissDisabled extension
import SwiftUI
import UIKit
struct SetSheetDelegate: UIViewRepresentable {
let delegate:SheetDelegate
init(isDisable:Bool,attempToDismiss:Binding<UUID>){
self.delegate = SheetDelegate(isDisable, attempToDismiss: attempToDismiss)
}