SHARE
TWEET

Untitled

a guest Jul 18th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct ContentView : View {
  2.    
  3.     //[...]
  4.    
  5.     @State var editingMode: Bool = false
  6.    
  7.     var body: some View {
  8.        
  9.         ZStack {
  10.             //[...]
  11.         }
  12.             .offset(y: editingMode ? -150 : 0)
  13.     }
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top