Skip to content

Conversation

@jrathert
Copy link

There seem to be some pull requests for Swift 4 compatibility - this one also simplifies the code by making use of JSONDecoder().

Mainly some type conversions (get rid of NS*), rename of functions, syntactical sugar etc.
This simplifies the code a lot, as the parse closure is in Resources is (almost) independent of the actual type, and we do not need any specific initialisers any more. Only requirement is to make use of the new Decodable protocol for all structures used in JSON API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant