Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
self.errorView = {
let view = UIView()
view.backgroundColor = UIColor.redColor()
self.errorLabel = {
let label = UILabel()
label.textAlignment = .Center
label.backgroundColor = UIColor.clearColor()
return label
return self.errorLabel
return view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.