         view04                  = UIView(frame: CGRectMake(16, CGRectGetMaxY(view03.frame) + 16, 100, 100))
         view04.backgroundColor  = UIColor.grayColor()
         view.addSubview(view03)
+        
+        // 设置layer
+        addSublayer()
     }
     
     override func didReceiveMemoryWarning() {

        self.view01Subview.center           = CGPointMake(CGRectGetMidX(view01.frame) - CGRectGetMinX(view01.frame), CGRectGetMidY(view01.frame) - CGRectGetMinY(view01.frame))
        self.view01Subview.backgroundColor  = UIColor.greenColor()
        self.view01Subview.alpha            = 0.5
    }
    
    // MARK: - 开始动画

    var view03              : UIView!
    var view04              : UIView!
    
    // MARK: -
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
