Skip to content

Instantly share code, notes, and snippets.

@cojoj
Created April 15, 2017 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cojoj/abddf547678bb85ba223d253a1638e84 to your computer and use it in GitHub Desktop.
Save cojoj/abddf547678bb85ba223d253a1638e84 to your computer and use it in GitHub Desktop.
func configureBasicStuff() {
doSomeMagic()
networkingManager = SuperDuperNetworking.sharedInstance()
for constraint in textConstraints {
constraints.append(LayoutConstraint(constraint))
}
label.text = "This is wrong!".uppercaseString
label.font = UIFont(name: "CirceBold", size: 11)
label.textColor = UIColor.blueColor()
label.textAlignment = .Center
label.numberOfLines = 1
label.constraints = constraints
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment