String
public extension String
extension String: QueryableRange
-
Return a
Date
object if the current String is in the right format.Declaration
Swift
var iso8601StringDate: Date? { get }
-
The URL for the underlying media file with additional options for server side manipulations such as format changes, resizing, cropping, and focusing on different areas including on faces, among others.
Throws
AnImageOptionError
if the SDK is unable to generate a valid URL with the desired ImageOptions.Declaration
Swift
func url(with imageOptions: [ImageOption]) throws -> URL
Parameters
imageOptions
The image options to transform the image on the server-side.
Return Value
A
URL
for the image with query parameters corresponding to server-side image transformations. -
Declaration
Swift
public var stringValue: String { get }