     let dictionaryMenu = NSMenu()
 
     override public func loadView() {
-        self.view = NSView(frame: CGRectMake(0, 0, 405, 566))
+        self.view = NSView(frame: CGRect(x: 0, y: 0, width: 405, height: 566))
         self.view.autoresizingMask = .ViewNotSizable
         self.view.appearance = NSAppearance(named: NSAppearanceNameAqua)
 

        self.webView.shouldUpdateWhileOffscreen = true
        self.webView.snp_makeConstraints { make in
            make.top.equalTo(self.separatorView.snp_bottom)
            make.left.right.bottom.equalTo(self.view)
        }

        self.view.addSubview(self.indicator)

        self.menuButton.target = self
        self.menuButton.action = "showMenu"
        self.menuButton.snp_makeConstraints { make in
            make.right.equalTo(-10)
            make.centerY.equalTo(self.separatorView.snp_top).dividedBy(2)
        }

