 
   public lazy var dayView: DayView = DayView()
 
+  open override func loadView() {
+    view = dayView
+  }
+
   override open func viewDidLoad() {
     super.viewDidLoad()
-    self.edgesForExtendedLayout = UIRectEdge()
-    view.addSubview(dayView)
     view.tintColor = UIColor.red
-
     dayView.dataSource = self
     dayView.delegate = self
     dayView.reloadData()

    print("DayView = \(dayView) did move to: \(date)")
  }
}

  open override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    dayView.scrollToFirstEventIfNeeded()
  }

  open func reloadData() {
