Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. // Do any additional setup after loading the view, typically from a nib.
  2.  
  3. // self.view.backgroundColor = UIColor.black
  4.  
  5. if drawableView == nil {
  6. drawableView = DrawableView(frame: CGRect(x:0, y:100, width:self.view.bounds.width, height:self.view.bounds.width))
  7. drawableView.backgroundColor = UIColor.white
  8. self.view.addSubview(drawableView)
  9. }
  10. }
  11.  
  12. override func didReceiveMemoryWarning() {
  13. super.didReceiveMemoryWarning()
  14. // Dispose of any resources that can be recreated.
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement