Building Spotify App in Swift 5 & UIKit - Part 7 (Xcode 12, 2021, Swift 5) - Build App
Codable
구조체 구현struct RecommendationsResponse: Codable {
let tracks: [AudioTrack]
}
struct AudioTrack: Codable {
let album: Album
let artists: [Artist]
let available_markets: [String]
let disc_number: Int
let duration_ms: Int
let id: String
let explicit: Bool
let external_ids: [String:String]
let name: String
let popularity: Int
}