Structs

The following structs are available globally.

  • A type that represents a single ascent of a single hill.

    See also

    AscendedHill
    See more

    Declaration

    Swift

    public struct Ascent
  • A type representing a combination of backup mode and backup destination to specify how backups are created and where they should be stored.

    See more

    Declaration

    Swift

    public struct BackupConfiguration
  • A type that can generate Backup instances by importing backups created by the Hill Lists app.

    See more

    Declaration

    Swift

    public struct BackupImporter
  • A type representing a set of contact details used for sharing data from the app.

    See more

    Declaration

    Swift

    public struct ContactDetailsConfiguration
  • A type that represents all recorded ascents of a single hill.

    See more

    Declaration

    Swift

    public struct AscendedHill
  • A type that represents a list of hills that can be tracked by the app. In keeping with the way the app presents lists, this type has properties to store:

    The hills tracked by each list are generally straightforward to determine based on lookup of classification and regions in the database of British and Irish hills (DoBIH). However, the app takes an arguably non-obvious approach when it comes to Ireland and Northern Ireland. For any HillList:

    See more

    Declaration

    Swift

    public struct HillList
  • A type representing user location data. Initially a default location in Fort William is set but the user can specify a location or use their iOS device’s location.

    See more

    Declaration

    Swift

    public struct LocationConfiguration
  • A type representing a combination of map vendor and map style to specify a mapping implementation for use in map-based views.

    See more

    Declaration

    Swift

    public struct MapViewConfiguration
  • A type representing backup metadata.

    See more

    Declaration

    Swift

    public struct Metadata
  • A type that stores information on how various items should be sorted for viewing.

    See more

    Declaration

    Swift

    public struct SortingConfigurations
  • A type representing the units of measurement chosen for presenting values.

    See more

    Declaration

    Swift

    public struct UnitsConfiguration