SHARE
TWEET

Untitled

a guest May 23rd, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. override func viewDidLoad() {
  2.     super.viewDidLoad()
  3.     let dr = Drawing()
  4.     self.view.addSubview(dr)
  5.     dr.drawRect(NSRect(x: 0, y: 0, width: 100, height: 100))
  6. }
  7.  
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  10. CORRECCION
  11.  
  12. override func viewDidLoad() {
  13.     super.viewDidLoad()
  14.     let dr = Drawing(frame: NSRect(x: 0, y: 0, width: 100, height: 100))
  15.     self.view.addSubview(dr)
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top