“an operation that associates each element of a given set (the domain) with one or more elements of a second set (the range).” in terminology.
2017 아티클
// If mapped into custom object, it will let you add your business or any other job into your model classes
let person = Person(dictionary: json)
label.title = person.name
// If not mapped, all other business jobs or anything else is about this person class will be here. Here?
if let title = dictionary["name"] as? String {
label.title = title
}
과거의 방식이구나
지금은 Codable이 있으니까 훨씬 간편하게 사용할 수 있게 변경되었군요