# TravelTimePicker

    @IBDesignable
    open class TravelTimePicker : UIViewController

A dialog to select departure date and time.

### Properties

- `time`

  The time the picker is created with.

  #### Declaration

  Swift

      public var time: Date! { get set }

- `delegate`

  The object which acts as the delegate of the travel time picker.

  #### Declaration

  Swift

      public weak var delegate: TravelTimePickerDelegate?

- `backgroundColor`

  The time picker background color.

  #### Declaration

  Swift

      public var backgroundColor: UIColor? { get set }

- `titleViewBackgroundColor`

  The title view background color.

  #### Declaration

  Swift

      public var titleViewBackgroundColor: UIColor? { get set }

- `titleLabelTextColor`

  The title label text color.

  #### Declaration

  Swift

      public var titleLabelTextColor: UIColor? { get set }

- `okButtonTitleColor`

  The OK button title color.

  #### Declaration

  Swift

      public var okButtonTitleColor: UIColor? { get set }

- `cancelButtonTitleColor`

  The cancel button title color.

  #### Declaration

  Swift

      public var cancelButtonTitleColor: UIColor? { get set }