Created
March 1, 2017 08:46
-
-
Save PhilippeBoisney/e2f164eb4a562c21a6434b7da9260a55 to your computer and use it in GitHub Desktop.
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
static func toModels(entities: Results<ListeDeCourseStateEntity>) -> Array<ListeDeCourseStateModel> { | |
var list: Array<ListeDeCourseStateModel> = Array<ListeDeCourseStateModel>() | |
for entity in entities { | |
list.append(entity.toModel()) | |
} | |
return list | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment