Skip to content

Instantly share code, notes, and snippets.

@MoussaHellal
Created May 20, 2023 11:01
Show Gist options
  • Save MoussaHellal/8861409c89ac6a554c8b9c5d1aa22a86 to your computer and use it in GitHub Desktop.
Save MoussaHellal/8861409c89ac6a554c8b9c5d1aa22a86 to your computer and use it in GitHub Desktop.
ContentView.swift
// 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