MainViewController
class MainViewController : UIViewController
Main view controller
-
Week day bar
Declaration
Swift
private let weekdayBar: WeekdayBar -
Calendar view
Declaration
Swift
private let calendarView: CalendarView -
Event list view
Declaration
Swift
private let eventListView: EventListView -
Content view
Declaration
Swift
private let contentView: UIView -
Layout selector
Declaration
Swift
private let layoutSelector: LayoutSelectorView -
Layout selector background
Declaration
Swift
private let layoutSelectorBackgroundView: UIView -
Day view
Declaration
Swift
private let dayView: DayView -
Calendar animated
Declaration
Swift
private let todayButton: TodayButton -
Layout for layout selector
Declaration
Swift
private var layoutSelectorLayout: LayoutBuilder? -
Layout selector shown
Declaration
Swift
private var layoutSelectorShown: Bool -
Layout for calendar
Declaration
Swift
private var calendarLayout: LayoutBuilder? -
Is calendar view expanded
Declaration
Swift
private var isCalendarViewExpanded: Bool -
Location service
Declaration
Swift
private let locationService: LocationService -
Current content view child
Declaration
Swift
private var currentContentViewChild: UIView? -
Weather service
Declaration
Swift
let weatherService: WeatherService -
Calendar
Declaration
Swift
let calendar: Calendar -
Undocumented
Declaration
Swift
let nowProvider: NowProvider -
Undocumented
Declaration
Swift
private var lastWeatherUpdateTime: Date? -
Location
Declaration
Swift
var location: CLLocation? { get set } -
Weather forecast
Declaration
Swift
private(set) var weatherForecast: WeatherForecastResponse? { get set } -
Dates
Declaration
Swift
private var dates: CalendarDates { get set } -
Selected date
Declaration
Swift
private var selectedDate: Date? { get set } -
Layout
Declaration
Swift
private var layoutType: LayoutSelectorView.LayoutType { get set } -
Undocumented
Declaration
Swift
override func viewDidLoad() -
Undocumented
Declaration
Swift
deinit -
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool) -
Undocumented
Declaration
Swift
@objc func didBecomeActive() -
Undocumented
Declaration
Swift
@objc private func didUpdateLocation() -
Undocumented
Declaration
Swift
@objc private func didTapCalendar() -
Undocumented
Declaration
Swift
private func updateRightBarButtons() -
Undocumented
Declaration
Swift
private func updateLeftBarButtons() -
Undocumented
Declaration
Swift
private var layoutTypeImage: UIImage? { get } -
Undocumented
Declaration
Swift
@objc private func layoutPressed() -
Undocumented
Declaration
Swift
@objc private func plusPressed() -
Undocumented
Declaration
Swift
private func updateNavigationItemTitle() -
Undocumented
Declaration
Swift
@objc private func didPanCalendar() -
Undocumented
Declaration
Swift
@objc private func didPanEvents() -
Undocumented
Declaration
Swift
@objc private func didPanDayView()
-
Undocumented
Declaration
Swift
private func expandCalendarView() -
Undocumented
Declaration
Swift
private func collapseCalendarView()
-
Undocumented
Declaration
Swift
private func showLayoutSelector() -
Undocumented
Declaration
Swift
private func hideLayoutSelector() -
Undocumented
Declaration
Swift
@objc private func layoutSelectorBackgroundViewTapped()
-
Update layout
Declaration
Swift
private func updateLayout() -
Update weather hourly
Declaration
Swift
private func updateWeatherHourly() -
Update today
Declaration
Swift
private func updateToday()
-
Undocumented
Declaration
Swift
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool
-
Undocumented
Declaration
Swift
func eventListViewDidScrollToDay(eventListView: EventListView) -
Undocumented
Declaration
Swift
func eventListViewDidScroll(eventListView: EventListView)
-
Undocumented
Declaration
Swift
func calendarViewDidChangeSelectedDate(_ calendarView: CalendarView)
-
Undocumented
Declaration
Swift
func layoutSelectorViewDidChange(_ view: LayoutSelectorView)
MainViewController Class Reference