KinveyDateTransform

open class KinveyDateTransform
extension KinveyDateTransform : TransformType

Default TransformType for Date types

  • Undocumented

    Declaration

    Swift

    public typealias Object = Date
  • Undocumented

    Declaration

    Swift

    public typealias JSON = String
  • Default Constructor

    Declaration

    Swift

    public init()
  • Converts any value to Date, if possible

    Declaration

    Swift

    open func transformFromJSON(_ value: Any?) -> Date?
  • Converts any Date to String, if possible

    Declaration

    Swift

    open func transformToJSON(_ value: Date?) -> String?