Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Do any additional setup after loading the view, typically from a nib.
- // self.view.backgroundColor = UIColor.black
- if drawableView == nil {
- drawableView = DrawableView(frame: CGRect(x:0, y:100, width:self.view.bounds.width, height:self.view.bounds.width))
- drawableView.backgroundColor = UIColor.white
- self.view.addSubview(drawableView)
- }
- }
- override func didReceiveMemoryWarning() {
- super.didReceiveMemoryWarning()
- // Dispose of any resources that can be recreated.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement