StorageExpiry

public enum StorageExpiry

Storage expiry

  • the storage never expires

    Declaration

    Swift

    case never
  • the storage expires after a given timeout in seconds (NSTimeInterval)

    Declaration

    Swift

    case seconds(TimeInterval)
  • the storage expires at a given date (NSDate)

    Declaration

    Swift

    case date(Foundation.Date)