With the JSONSerialization class you can parse JSON into dictionaries, arrays, and other standard Swift types, without requiring Codable types| Matteo Manferdini
explore how MVVM fits into SwiftUI, how to leverage its advantages, and how it compares to Clean Swift and the Composable Architecture.| Matteo Manferdini
Uncategorized | Matteo Manferdini
Downloading files in Swift can be pretty straightforward. However, SwiftUI apps must track multiple files, complicating their architecture.| Matteo Manferdini
`AsyncImage` is a convenient SwiftUI view that loads remote images using a URL. It's especially useful in apps that interact with REST APIs.| Matteo Manferdini
Dynamic JSON can be parsed in Swift with Codable with types that conform to the same protocol by reading the type information from an object.| Matteo Manferdini
JSON object with dynamic keys can be decoded using the Decodable protocol by implementing structures that conform to the CodingKey protocol.| Matteo Manferdini
Nested JSON can be decoded in Swift using Decodable and JSONDecoder. To flatten it, use keyed and unkeyed containers.| Matteo Manferdini
Coding keys can be used to rename JSON fields, control the decoding of properties, add extra logic, and flatten nested objects.| Matteo Manferdini
Converting JSON data into a formatted string helps build decodable Swift types and is useful when debugging and testing an app’s code.| Matteo Manferdini