Pinned Loading
-
Simple-Weather
Simple-Weather PublicA simple weather application made 100% in swift using apple frameworks for network communication and animations
-
-
Parse a local json using generics
Parse a local json using generics 1// Static function to decode a local json
2// Receives a path and a generic type (must conform to the codable protocol) and return the data decoded into the given type
34class JsonParser {
5static func from<T: Codable> (path: String, ofType: T.Type) -> T? {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.