Building Netflix App in Swift 5 and UIKit - Get Started (Xcode 13, 2021) - Episode 1
private func setUI() {
view.backgroundColor = .systemBackground
let vc1 = UINavigationController(rootViewController: HomeViewController())
let vc2 = UINavigationController(rootViewController: NewAndHotViewController())
let vc3 = UINavigationController(rootViewController: DownloadViewController())
vc1.tabBarItem.image = UIImage(systemName: "house")
vc1.tabBarItem.selectedImage = UIImage(systemName: "house.fill")
vc1.title = "홈"
vc2.tabBarItem.image = UIImage(systemName: "play.rectangle.on.rectangle.circle")
vc2.tabBarItem.selectedImage = UIImage(systemName: "play.rectangle.on.rectangle.circle.fill")
vc2.title = "NEW & HOT"
vc3.tabBarItem.image = UIImage(systemName: "arrow.down.circle")
vc3.tabBarItem.selectedImage = UIImage(systemName: "arrow.down.circle.fill")
vc3.title = "저장한 콘텐츠 목록"
tabBar.tintColor = .label
setViewControllers([vc1, vc2, vc3], animated: true)
}
강의 영상과는 다소 다른 코딩이 될 듯. 현재 UI에 최대한 맞춘 뒤, 넷플릭스 API를 사용해 더미 데이터를 받아올 예정.
Great start on creating a Netflix clone with UIKit! For anyone interested in launching their own streaming service, this guide on how to start a streaming service like Netflix is incredibly helpful: https://www.cleveroad.com/blog/how-to-start-a-streaming-service-like-netflix/. Keep up the fantastic work!
혹시 영화 정보 API는 어디서 가져오신건지 여쭤봐도 될까요?