Created
July 7, 2017 23:16
-
-
Save CollectiveHealth-gists/61004e047ef28c9e1b387b665ea03c2f to your computer and use it in GitHub Desktop.
Testing iOS at Collective Health: An Example of the View Model for our search results map view
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
struct SearchResultsMapViewModel { | |
init(searchLocation loc: SearchLocationDescription?, details: [GetCareProvider]) | |
func getAnnotations() -> [MKAnnotation] | |
func getProviderForAnnotation(annotation: GetCareAnnotation) -> CollectiveHealth.GetCareProvider? | |
static func configForAnnotation(annotation: GetCareAnnotation) -> CollectiveHealth.LocationDetailsTableViewModel | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment