Signpost
public struct Signpost
The Signpost
class contains information about the signpost for the Instruction
.
-
Creates a signpost with the specified exit name, exit number and toward name.
Throws
An errorInitializationError.incorrectInputs
if parameters are invalid.Declaration
Swift
public init( exitNumber: TextWithPhonetics? = nil, exitName: TextWithPhonetics? = nil, towardName: TextWithPhonetics? = nil ) throws
Parameters
exitNumber
Signpost exit number.
exitName
Signpost exit name.
towardName
Signpost toward name.
-
Signpost exit number.
Declaration
Swift
public let exitNumber: TextWithPhonetics?
-
Signpost exit name
Declaration
Swift
public let exitName: TextWithPhonetics?
-
Signpost toward name
Declaration
Swift
public let towardName: TextWithPhonetics?
-
An error that occurs during the creation of the instance.
See moreDeclaration
Swift
public enum InitializationError : Error