-
Make [TMDbConfig](https://github.com/vanyaland/UpcomingMovies/blob/master/UpcomingMovies/TMDbConfig.swift) implements `Codable` protocol.
- [Swift Encoders](https://github.com/apple/swift-evolution…
-
I think it would be interesting to change the actual NSCoding protocol to the Codable protocol that Apple presented in the last WWDC. By doing so we can keep this awesome app up to date.
-
### Question
Hello,
I'm writing a client with an openapi.yml that frequently uses nullable ref properties, as below:
```yaml
// Technique 1
my_field:
nullable: true
allof:
- $ref: …
-
I'm trying to store struct object but not work.
```
struct InstagramApiUser: Codable {
var access_token: String
var user_id: Int
}
```
storing with:
```
let json = try JSONDecoder()…
-
Written on 10/17/2017 16:56:09
URL: https://nsscreencast.com/episodes/306-codable-caching
-
When using a schema that has a field from a reference that is both non-required and "nullable" this is a common way of defining it in OpenAPI: 3.1.0
```yaml
UpdateTaskOccurrenceCompletionResponse:
…
-
At the moment objects coming in via the socket get decoded as `[String: Any]`, and to obtain a struct from a response one has to manually implement something along the lines of `init(dict: dataComingF…
-
To learn how to write Swift Codable-decoders and use it for [swift-gir](https://git.janvhs/swift-gir)
-
The error content is as follows:
```
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
D:\dev\windows-samples\.build\checkouts\swift-windowsfo…
-
In some past SQLiteEncoder skips to update the column if the Codable's optional field is `nil`
Seems after https://github.com/stephencelis/SQLite.swift/issues/838 it starts to place `null` if the val…