Structures

The following structures are available globally.

  • Holds all the information about a category.

    See more

    Declaration

    Swift

    public struct UNCategory: Decodable
  • Holds all the information about a photo.

    See more

    Declaration

    Swift

    public struct UNPhoto
  • Client credentials necessary to query Unsplash.

    Declaration

    Swift

    public struct UNCredentials
  • Holds all the information about a user.

    See more

    Declaration

    Swift

    public struct UNUser: Decodable
  • Holds the URLs for the different sizes of the user’s profile image

    See more

    Declaration

    Swift

    public struct UNProfileImageLinks: Decodable
  • Holds all the information about a collection.

    See more

    Declaration

    Swift

    public struct UNCollection
  • Struct to represent Unsplash errors to a given query.

    See more

    Declaration

    Swift

    public struct UNError : Error