title: CalendarKit Issue with the Date Scroll Bar - Swift
body: <p>I've been having issues with using JT Apple Calendar to select a date to display in CalendarKit. The label will display the proper date, but the date selector above it, does not reflect the date that the label shows.</p>
  
  <p>Is there an easy way to fix this? I've been told that it may be a bug.</p>
  
  <p>The date scroll bar seems to take the current date, instead of the date that's been selected. I selected January 19th, 2017, but the date scroll bar shows December 2, 2017 which is today's date.</p>
  
  <p>This is the package home for reference:
  <a href="https://github.com/richardtop/CalendarKit" rel="nofollow noreferrer">https://github.com/richardtop/CalendarKit</a></p>
  
  <p><a href="https://i.stack.imgur.com/rAAgI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rAAgI.png" alt="enter image description here"></a></p>
  
  <p>Here is the relevant part of the code, where selectedDate is the date being displayed in the label and passed from JTAppleCalendar:</p>
  
  <p>var selectedDate: Date!
      var selectedEvent: Event!
      var newEventDate: Date!</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      dayView.autoScrollToFirstEvent = true
      navigationController?.navigationBar.backgroundColor = .white
      reloadData()
      loadForSelectedDate(date: selectedDate)
  }
  
  
  func loadForSelectedDate(date: Date) {
      dayView.state = DayViewState(date: date)
      dayView.state?.move(to: date)
      dayView.reloadData()
  }
  </code></pre>