123456789101112131415161718192021222324252627282930313233343536 |
- import SwiftUI
- extension View {
- func complexModifier<V: View>(@ViewBuilder _ closure: (Self) -> V) -> some View {
- closure(self)
- }
-
-
- func frameForPreview() -> some View {
- return frame(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
- }
- }
|