   }
 }
 
-extension DayView: EventDataSource {
-  public func eventsForDate(_ date: Date) -> [EventDescriptor] {
-    return dataSource?.eventsForDate(date) ?? []
-  }
-}
-
 extension DayView: DayHeaderViewDelegate {
   public func dateHeaderDateChanged(_ newDate: Date) {
     changeCurrentDate(to: newDate)


  func configureTimelinePager() {
    addSubview(timelinePagerView)
    timelinePagerView.dataSource = self
    timelinePagerView.delegate = self
  }



public class DayView: UIView {

  public weak var dataSource: EventDataSource? {
    get {
      return timelinePagerView.dataSource
    }
    set(value) {
      timelinePagerView.dataSource = value
    }
  }

  public weak var delegate: DayViewDelegate?

  /// Hides or shows header view
