dailyTasksPageViewController(_:viewControllerForTask:events:eventQuery:)
Return a view controller to display for the given task and events.
Declaration
func dailyTasksPageViewController(_ viewController: OCKDailyTasksPageViewController, viewControllerForTask task: OCKAnyTask, events: [OCKAnyEvent], eventQuery: OCKEventQuery) -> UIViewController?Parameters
- viewController:
The view controller displaying the returned view controller.
- task:
The task to be displayed by the returned view controller.
- events:
The events to be displayed by the returned view controller.
- eventQuery:
The query used to retrieve the events for the task.