retrolux
retrolux copied to clipboard
The all in one networking solution for iOS.
Swift 4
This library won't compile on Swift 4 with multiple errors.
Retrolux v1.0 is currently being designed and prototyped. It's primary goals are: 1. Use Swift 4's Codable protocols instead of the pre-1.0 "Serializer" concept 2. Use Swift 4's built-in JSONEncoder...
Have the following transformer which doesn't work: ``` class OptionalNSNumberToIntTranformer: NestedTransformer { typealias TypeOfData = NSNumber? typealias TypeOfProperty = Int func setter(_ dataValue: NSNumber?, type: Any.Type) throws -> Int {...
They are actually supported, but it's hard to use and confusing. > I evaluated the code and realized why NestedTransformer's code appears to be stupid. tl;dr, delete the `?` from...
Surely there's a better way?
Some IDs are integers and it's annoying to have to pass in String(myInt) all the time.
ReflectionJSONSerializer's fault! I.e., when using `afterSerialization` to inject an unsupported type into the raw dictionary before it gets passed into `JSONSerialization`.
Current State: When Retrolux is unable to parse the JSON, we get an error message and the entire response from the server via the response.data object. Desired State: Along with...
Right now it just logs ``, but should be more like Realm.
Related: #11