Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func viewDidLoad() {
- super.viewDidLoad()
- let dr = Drawing()
- self.view.addSubview(dr)
- dr.drawRect(NSRect(x: 0, y: 0, width: 100, height: 100))
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- CORRECCION
- override func viewDidLoad() {
- super.viewDidLoad()
- let dr = Drawing(frame: NSRect(x: 0, y: 0, width: 100, height: 100))
- self.view.addSubview(dr)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement