Created
December 4, 2018 17:06
-
-
Save asilturk/af1eedfeae6f5e1f4ee264e66837f495 to your computer and use it in GitHub Desktop.
MVVM demo - Auxiliary Method
This file contains 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
// MARK: - Auxiliary Methods | |
extension MainViewModel { | |
func getValues() { | |
if let path = Bundle.main.path(_: _:) { // ... } | |
// ... Fetch values from test.json | |
self.delegate?.requestCompleted() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment