DatePickerController
public class DatePickerController : PKGViewController, JTACMonthViewDelegate, JTACMonthViewDataSource
extension DatePickerController: PKGInstantiatableStoryboard
A calendar date picker.
-
Undocumented
Declaration
Swift
public override func properties(from package: Package) -
Undocumented
Declaration
Swift
override public func viewDidLoad()
-
Declaration
Swift
public func configureCalendar(_ calendar: JTACMonthView) -> ConfigurationParameters -
Declaration
Swift
public func calendar(_ calendar: JTACMonthView, cellForItemAt date: Date, cellState: CellState, indexPath: IndexPath) -> JTACDayCell -
Declaration
Swift
public func calendar(_ calendar: JTACMonthView, willDisplay cell: JTACDayCell, forItemAt date: Date, cellState: CellState, indexPath: IndexPath) -
Declaration
Swift
public func calendar(_ calendar: JTACMonthView, shouldSelectDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) -> Bool -
Declaration
Swift
public func calendar(_ calendar: JTACMonthView, headerViewForDateRange range: (start: Date, end: Date), at indexPath: IndexPath) -> JTACMonthReusableView -
Declaration
Swift
public func calendarSizeForMonths(_ calendar: JTACMonthView?) -> MonthSize? -
Declaration
Swift
public func calendar(_ calendar: JTACMonthView, didSelectDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) -
Declaration
Swift
public func calendar(_ calendar: JTACMonthView, didDeselectDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) -
Declaration
Swift
public static var storyboardSource: UIStoryboard -
Declaration
Swift
public static var storyboardIdentifier: String -
Create a new calendar date picker.
Declaration
Swift
public static func instantiate( calendar: Calendar = Calendar.current, current: Date, start: Date, end: Date, delegate: DatePickerControllerDelegate? = nil ) -> UIViewControllerParameters
calendarthe calendar.
currentthe current date.
startthe start date.
endthe end date.
delegatethe delegate.
Return Value
a new DatePickerController.
-
Declaration
Swift
public static var shouldWrapInNavigationController: Bool { get } -
Declaration
Swift
public static func configure(selfController: UIViewController)
View on GitHub
Install in Dash
DatePickerController Class Reference