         view.frame = window.bounds
         // 设置属性
         self.contentView = contentView
-//        if let view = contentView as? CourseContentView {
-//            view.container = self
-//        }
-        updateUserInterface()
     }
     
     required public init?(coder aDecoder: NSCoder) {

        window.addSubview(commitButton)
        
        // Autolayout
        window.snp_makeConstraints { (make) -> Void in
            make.center.equalTo(self.view.snp_center)
            make.width.equalTo(MalaLayout_CommentPopupWindowWidth)

        }
        textView.snp_makeConstraints { (make) -> Void in
            make.top.equalTo(floatRating.snp_bottom).offset(MalaLayout_Margin_8)
            make.left.equalTo(self.window.snp_left).offset(MalaLayout_Margin_18)
            make.right.equalTo(self.window.snp_right).offset(-MalaLayout_Margin_18)
            make.bottom.equalTo(buttonSeparatorLine.snp_top).offset(-MalaLayout_Margin_12)
        }
        buttonSeparatorLine.snp_makeConstraints { (make) -> Void in
