Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created November 27, 2017 20:25
Show Gist options
  • Save azamsharp/812678f1cee159757148850d9b30bb75 to your computer and use it in GitHub Desktop.
Save azamsharp/812678f1cee159757148850d9b30bb75 to your computer and use it in GitHub Desktop.
SourceListViewModel
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