Richie

@MainActor
public final class Richie

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.

Warning

Do not construct multiple Richie instances at the same time. They use the same resources on disk and will interfere with each other.