UserProfile

public struct UserProfile : Equatable

Entity holding all personal data relating to the current user of the application.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates an empty UserProfile instance.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public init()
  • User’s personal locations.

    Note

    This field has an accessible setter to make it possible to call UserLocation‘s mutating methods. Assigning any other UserLocation instance to this field is discouraged, and doing so will lead to undefined behavior.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public var locations: UserLocations