Timeline for Efficiently structuring data with protocol oriented approach in Swift
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 9, 2018 at 15:54 | comment | added | proxpero | I think that's best asked as a separate question on Stack Overflow. You'll probably need to do something like this: stackoverflow.com/a/45147203/277905 but you'll have to extract /inject the values from the json array when you decode/encode them. | |
Feb 8, 2018 at 17:17 | comment | added | nayem |
Well, that's a pretty good explanation about protocol . I appreciate your effort to look at this. But with your other proposal with enum got me something to be confused. What do I do with the values property inside the result property if I'm going to implement it your suggested way? More precisely, how would I deserialize the verifyStatus updateStatus tokenKey into the result ?
|
|
Feb 7, 2018 at 16:28 | review | First posts | |||
Feb 7, 2018 at 16:29 | |||||
Feb 7, 2018 at 16:24 | history | answered | proxpero | CC BY-SA 3.0 |