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
protocol AssertionProvider { | |
func assertionFailure(_ message: String) | |
func fatalError(_ message: String) | |
} | |
final class AssertionHandler { | |
private(set) static var shared: AssertionHandler = AssertionHandler() | |
var provider: AssertionProvider = DefaultAssertionProvider() | |
private init() {} |