Created
April 1, 2018 21:29
-
-
Save bill350/018e70ea47fc5a2f7aecbb084a244ab4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
protocol ErrorDisplayable { | |
static func show<T: ErrorView>( | |
fromViewController viewController: UIViewController, | |
animated: Bool, | |
completion: ((Bool) -> Swift.Void)?) -> T | |
static func show<T: ErrorView>( | |
fromView view: UIView, | |
insets: UIEdgeInsets, animated: Bool, | |
completion: ((Bool) -> Swift.Void)?) -> T | |
func hide(animated: Bool, completion: ((Bool) -> Swift.Void)?) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment