Skip to content

Instantly share code, notes, and snippets.

@rodrickbrown
Created July 10, 2014 01:40
Show Gist options
  • Save rodrickbrown/2acca7a6e2c217fefb1e to your computer and use it in GitHub Desktop.
Save rodrickbrown/2acca7a6e2c217fefb1e to your computer and use it in GitHub Desktop.
class SetValidation {
var sets: [Dictionary<String, AnyObject>] = []
init(sets: [Dictionary<String, AnyObject>]) {
self.sets = sets
}
func validGroups(group: [Dictionary<String, AnyObject>]) -> Bool {
if group.count <= 0 {
return false
}
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment