 		}
 	}
 	
+	@available(*, deprecated, message: "Use .dateFormatter directly instead")
 	open var dateStyle: DateFormatter.Style {
 		get {
 			return dateFormatter.dateStyle

@IBDesignable
open class DateRangePickerView: NSControl, ExpandedDateRangePickerControllerDelegate, NSPopoverDelegate {
	fileprivate let segmentedControl: NSSegmentedControl
	fileprivate let dateFormatter = DateFormatter()
	fileprivate var dateRangePickerController: ExpandedDateRangePickerController?
	
	// MARK: - Date properties

		segmentedControl.target = self
		self.addSubview(segmentedControl)
		
		self.dateFormatter.dateStyle = .medium
		
		NotificationCenter.default.addObserver(self, selector: #selector(dayChanged(_:)), name: NSNotification.Name.NSCalendarDayChanged, object: nil)
	}
