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 KingfisherSwiftUI | |
struct SingleMovieView: View { | |
var movieId: Int = -1 | |
@ObservedObject var model = MovieListViewModel() | |
var body: some View { | |
ScrollView(showsIndicators: false) { |
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 | |
let DEVICE_SIZE = UIScreen.main.bounds | |
struct ContentView: View { | |
@State private var contentMode: ContentMode = .fit | |
@State private var scaleAmount: CGFloat = 1.0 | |
@State private var dragAmount: CGSize = .zero | |