Signpost

public struct Signpost : Equatable

Contains information about the signpost for the GuidanceInstruction.

  • Creates a signpost with the specified exit name, exit number and toward name.

    Throws

    If all properties are empty, the error InitializationError.incorrectInputs thrown.

    Declaration

    Swift

    public init(
        exitNumber: String,
        exitName: String,
        towardName: String
    ) throws

    Parameters

    exitNumber

    Signpost exit number.

    exitName

    Signpost exit name.

    towardName

    Signpost toward name.

  • Signpost exit number.

    Declaration

    Swift

    public let exitNumber: String
  • Signpost exit name.

    Declaration

    Swift

    public let exitName: String
  • Signpost toward name.

    Declaration

    Swift

    public let towardName: String
  • An error that occurs during the creation of the instance.

    See more

    Declaration

    Swift

    public enum InitializationError : Error