     
     override init(frame: CGRect) {
         super.init(frame: frame)
-//        fatalError("init(frame:) has not been implemented, try to initialize through a nib instead.")
         self.setup()
         self.reload()
     }

    override func didMoveToWindow() {
        super.didMoveToWindow()
        self.focusToCurrentRange(false)

    }    
    
    // MARK: Setup
    

    }
    
    private func focusToCurrentRange(animated: Bool) {
        dispatch_async(dispatch_get_main_queue()) { () -> Void in
            self.calendarView.scrollToDate(self.startDate, animated: animated)
        }
    }
    
    // MARK: GLCalendarViewDelegate
