This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import Dispatch | |
extension View { | |
// Warning: This will affect the layout of the view that's wrapped! :( | |
public func editing(_ isEditing: Binding<Bool>) -> some View { | |
EditingProxy(rootView: self, isEditing: isEditing) | |
} | |
} |