Classes

The following classes are available globally.

  • This abstraction helps working with the JSON Format.

    It provives a way to access JSON values via subscripting, whether it’s an array or a dictionary.

    See more

    Declaration

    Swift

    public class JSON: AnyObject, CustomDebugStringConvertible
  • This is used to configure NSDate parsing on a global scale.

        Arrow.setDateFormat("yyyy-MM-dd'T'HH:mm:ssZZZZZ")
        // or
        Arrow.setUseTimeIntervalSinceReferenceDate(true)
    

    For more fine grained control, use dateFormat on a per field basis :

        createdAt <-- json["created_at"]?.dateFormat("yyyy-MM-dd'T'HH:mm:ssZZZZZ")
    
    See more

    Declaration

    Swift

    public class Arrow