Editions

  • Undocumented

    See more

    Declaration

    Swift

    public struct DownloadedEdition : Sendable
  • Interface to manage downloaded editions.

    See more

    Declaration

    Swift

    public protocol DownloadedEditionsManager
  • Interface for querying the editions on disk, which usually means they are prepared to be presented to the user.

    See more

    Declaration

    Swift

    public protocol DownloadedEditionsProvider
  • Interface that provides information about the edition download progress.

    See more

    Declaration

    Swift

    public protocol DownloadProgressListener
  • Undocumented

    See more

    Declaration

    Swift

    public struct Edition : Equatable, Hashable, Sendable
  • Interface to get the cover for a edition as an image.

    See more

    Declaration

    Swift

    public protocol EditionCoverProvider
  • Interface to get the cover for a edition as data.

    See more

    Declaration

    Swift

    public protocol EditionCoverDataProvider
  • Interface for downloading and presenting editions to the user.

    See more

    Declaration

    Swift

    public protocol EditionPresenter
  • Interface for getting the products the issues belong to since the latest feed update, see Editions.updateFeed.

    See more

    Declaration

    Swift

    public protocol EditionProductsProvider
  • Protocol to get the the editions available since the latest feed update.

    See more

    Declaration

    Swift

    public protocol EditionProvider
  • Main class of Richie’s Editions SDK.

    See more

    Declaration

    Swift

    public class Editions
  • Editions configuration variables.

    See more

    Declaration

    Swift

    public struct EditionsConfiguration : Sendable
  • Protocol to get disk usage from downloaded editions.

    See more

    Declaration

    Swift

    public protocol EditionsDiskUsageProvider
  • Undocumented

    See more

    Declaration

    Swift

    public struct EditionsProduct : Equatable, Sendable
  • List of errors that can happen when trying to present an edition.

    See more

    Declaration

    Swift

    public enum OpenError
  • This is the struct containing the actual Edition objects. You can check hasNext to know if there are more pages in the Paginator.

    See more

    Declaration

    Swift

    public struct Page : Sendable
  • Interface to iterate over the results queried from EditionProvider.

    Call next as needed until the Paginator is exhausted (Page.hasNext == false). It provides a Result containing a Page on success.

    Note

    Calling Editions.updateFeed(...) will render any Paginator object invalid, to keep getting Editions you need to query them again using EditionProvider.editions(...) after an update.
    See more

    Declaration

    Swift

    public protocol Paginator