SDK Entry Points

  • Richie is the main entry point to the Richie SDK.

    Use Richie to construct the top-level SDK objects for ads, books and editions. You can use the shared property if you prefer a singleton, or just pass around an instance. Richie stores the objects you create, so that the first call to makeX creates the X, and subsequent calls return the same object.

    Every Richie instance in a process shares the same objects. Constructing one with a different identifier than the first is a programming error.

    See more

    Declaration

    Swift

    @MainActor
    public final class Richie
  • RichieAdsController is the main interface for loading ads with Richie SDK.

    If possible, you should be using this class instead of RichieAds. RichieAds does not force usage from the main thread but strongly recommends it; this class forces the issue and defines itself to work on the main actor.

    Use makeAds() to get the instance. The SDK supports one per process.

    See more

    Declaration

    Swift

    @MainActor
    public final class RichieAdsController
  • Main class of Richie’s Editions SDK.

    To construct an Editions instance, use makeEditions(analyticsListener:tokenProvider:).

    See more

    Declaration

    Swift

    @MainActor
    public class Editions
  • BooksLibraryController is the main entry point for the books functionality of Richie SDK.

    See more

    Declaration

    Swift

    @MainActor
    @objc
    public class BooksLibraryController : NSObject