Last active
October 24, 2017 16:53
-
-
Save azamsharp/5b2504fa111cd73d3c32e2e22ce1bf32 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
struct BrokenRule { | |
var propertyName :String | |
var message :String | |
} | |
protocol ViewModel { | |
var brokenRules :[BrokenRule] { get set} | |
var isValid :Bool { mutating get } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment