CoercionItemClass
public enum CoercionItemClass : Hashable, Encodable
Represents available content types that a Variable can be convered to.
-
Anything
Declaration
Swift
case anything -
App Store app
Declaration
Swift
case appStoreApp -
Article
Declaration
Swift
case article -
Boolean
Declaration
Swift
case boolean -
Contact
Declaration
Swift
case contact -
Date
Declaration
Swift
case date -
Dictionary
Declaration
Swift
case dictionary -
Email address
Declaration
Swift
case emailAddress -
File
Declaration
Swift
case file -
Image
Declaration
Swift
case image -
iTunes media
Declaration
Swift
case iTunesMedia -
iTunes product
Declaration
Swift
case iTunesProduct -
Location
Declaration
Swift
case location -
Maps link
Declaration
Swift
case mapsLink -
Media
Declaration
Swift
case media -
Number
Declaration
Swift
case number -
PDF
Declaration
Swift
case pdf -
Phone number
Declaration
Swift
case phoneNumber -
Photo media
Declaration
Swift
case photoMedia -
Place
Declaration
Swift
case place -
Rich text
Declaration
Swift
case richText -
Safari web page
Declaration
Swift
case safariWebPage -
Text
Declaration
Swift
case text -
URL
Declaration
Swift
case url -
vCard
Declaration
Swift
case vCard -
Encodes this value into the given encoder.
Throws
This function throws an error if any values are invalid for the given encoder’s format.Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
View on GitHub
CoercionItemClass Enumeration Reference