 class DaySelector: UIView {
 
   weak var delegate: DaySelectorDelegate?
+
+  var calendar = NSCalendar.autoupdatingCurrentCalendar()
 
   var daysInWeek = 7
   var startDate: NSDate! {

    }
    set(newDate) {
      if let newDate = newDate {
        selectedIndex = newDate.daysFrom(startDate)
      }
    }
  }


  var dateLabels = [DateLabel]()

  init(startDate: NSDate = NSDate(), daysInWeek: Int = 7) {
    self.startDate = startDate.dateOnly()
    self.daysInWeek = daysInWeek
    super.init(frame: CGRect.zero)
    initializeViews()
