I'm confused how the following code uses the view property to access the subView method in the viewDidLoad() function. The viewDidLoad function provides access to the view property, but why is the addSubView method accessed from a property and not an instance?
override func viewDidLoad() {
super.viewDidLoad()
let label = UILabel(frame: CGRect(x: 16, y: 16, width: 200,
height: 44))
view.addSubview(label) // Adds label as a child view to `view`
}