EventListView

class EventListView : UIView, UITableViewDataSource, UITableViewDelegate

Event list view

  • Dates

    Declaration

    Swift

    var dates: CalendarDates? { get set }
  • Selected date

    Declaration

    Swift

    var selectedDate: Date?
  • View controller

    Declaration

    Swift

    weak var viewController: UIViewController?
  • First day

    Declaration

    Swift

    private(set) var firstDay: Date?
  • Has scrolled to today

    Declaration

    Swift

    private var hasScrolledToToday: Bool
  • View did load

    Declaration

    Swift

    private var didLoad: Bool
  • Table view

    Declaration

    Swift

    let tableView: UITableView
  • Calendar

    Declaration

    Swift

    private let calendar: Calendar
  • Delegate

    Declaration

    Swift

    weak var delegate: EventListViewDelegate?
  • Event service

    Declaration

    Swift

    private let eventService: EventService
  • Weather forecast

    Declaration

    Swift

    var weatherForecast: WeatherForecastResponse? { get set }
  • Is scrolling to selected date

    Declaration

    Swift

    private(set) var isScrollingToSelectedDate: Bool
  • Undocumented

    Declaration

    Swift

    var offset: CGFloat? { get }
  • Undocumented

    Declaration

    Swift

    var scrollView: UIScrollView { get }
  • Undocumented

    Declaration

    Swift

    override init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    func reloadData()
  • Undocumented

    Declaration

    Swift

    override func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    override func didMoveToSuperview()
  • Undocumented

    Declaration

    Swift

    func loadView()
  • Undocumented

    Declaration

    Swift

    private func scrollToTodayIfNeeded()
  • Undocumented

    Declaration

    Swift

    func numberOfSections(in tableView: UITableView) -> Int
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell