Created
November 27, 2017 20:25
-
-
Save azamsharp/812678f1cee159757148850d9b30bb75 to your computer and use it in GitHub Desktop.
SourceListViewModel
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
func addSource(source: SourceViewModel) { | |
self.sourceViewModels.append(source) | |
} | |
func source(at index:Int) -> SourceViewModel { | |
return self.sourceViewModels[index] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment