Skip to content

Instantly share code, notes, and snippets.

@eofster
Created December 15, 2015 15:31
Show Gist options
  • Save eofster/208f2672fa1913cb9b8a to your computer and use it in GitHub Desktop.
Save eofster/208f2672fa1913cb9b8a to your computer and use it in GitHub Desktop.
GPS tracker view event handling composition
let viewController = TrackSummaryViewController(
observer: TrackSummaryViewEventHandler(
interactorFactory: InteractorFactoryImpl(repository: TrackRepositoryImpl()),
presenterFactory: PresenterFactoryImpl()
)
)
navigationController.pushViewController(viewController, animated: true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment