Created
December 30, 2017 00:32
-
-
Save kmkrn/0421703096ea6b055a61a69a49061a2d to your computer and use it in GitHub Desktop.
Decoding a Realm List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let catsArray = try container.decode([Cat].self, forKey: .cats) | |
let catsList = List<Cat>() | |
catsList.append(objectsIn: catsArray) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment