PropertyUserInfo
public enum PropertyUserInfo : Hashable, Encodable
Represents PropertyName
-dependent information that the Shortcuts app expects for certain properties.
-
File size.
Declaration
Swift
case fileSize
-
File extension.
Declaration
Swift
case fileExtension
-
A specified number.
Declaration
Swift
case number(Number)
-
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) throws
Parameters
encoder
The encoder to write data to.