     /**
      Height of the preview event in hours.
      */
-    public var previewEventHeightInHours: Double {
+    @objc public var previewEventHeightInHours: Double {
         get {
             return LayoutVariables.previewEventHeightInHours
         }

     See Apple API for additional information on pattern drawing.
     https://developer.apple.com/documentation/quartzcore/cashapelayer/1521921-linedashpattern
     */
    public var dayViewDashedSeparatorPattern: [NSNumber] {
        get {
            return LayoutVariables.dashedSeparatorPattern
        }

    /**
     Background color of main scrollview.
     */
    @objc public var mainBackgroundColor: UIColor {
        get {
            return self.mainView.backgroundColor!
        }
