Skip to content

Instantly share code, notes, and snippets.

@marcpalmer
Created April 27, 2018 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcpalmer/a7b459f183e4c1f52ce06998ffa6abde to your computer and use it in GitHub Desktop.
Save marcpalmer/a7b459f183e4c1f52ce06998ffa6abde to your computer and use it in GitHub Desktop.
Flint conditional conformance blog post part 1
final class ShowMessageAction: Action {
typealias InputType = String
typealias PresenterType = MessagePresenter
static func perform(with context: ActionContext<InputType>, using presenter: PresenterType, completion: ((ActionPerformOutcome) -> ())) {
// … not important for this example
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment