O'Reilly logo
  • Dennis Ng thinks this is interesting:

override func viewDidLoad() { super.viewDidLoad() let mainview = self.view let v = UIView(frame:CGRectMake(100,100,50,50)) v.backgroundColor = UIColor.redColor() // small red square mainview.addSubview(v) // add it to main view }

From

Cover of Programming iOS 8

Note

This is the highlight feature ... not really can be seen ...