Created
May 20, 2023 11:01
-
-
Save MoussaHellal/8861409c89ac6a554c8b9c5d1aa22a86 to your computer and use it in GitHub Desktop.
ContentView.swift
This file contains 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
// Created by Moussa on 20/5/2023. | |
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
VStack { | |
Image("cappucino") | |
.resizable() | |
.aspectRatio(contentMode: .fit) | |
} | |
.modifier(DraggableModifier()) | |
} | |
} | |
struct ContentView_Previews: PreviewProvider { | |
static var previews: some View { | |
ContentView() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment