Other Classes

The following classes are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MaggioGuid : NSObject <NSCopying>
    
    +(nullable instancetype) guidWithString:(nullable NSString *)string;
    +(instancetype) guidWithUUID:(NSUUID *)uuid;
    
    /// The wrapped UUID value.
    @property (nonatomic, readonly) NSUUID *uuid;
    
    /// Returns the stringified UUID as returned by \c UUIDString on \c NSUUID.
    @property (nonatomic, readonly) NSString *UUIDString;
    
    /// Returns lowercased guid string for backward compatibility. You should use \c uuid for equality comparisons.
    @property (nonatomic, readonly) NSString *string;
    
    @end

    Swift

    class MaggioGuid : NSObject, NSCopying, @unchecked Sendable
  • This class provides support for easily handling NSURLSession background downloads introduced in iOS 7.

    Initialize a single instance in @p -application:didFinishLaunchingWithOptions: and keep a strong reference to it. Pass the instance to Richie and Maggio when creating those to enable background downloads.

    See documentation for reconnectToActiveDownloads and @p -handleEventsForBackgroundURLSession:completionHandler: for more information on how to integrate RichieBackgroundDownloadManager with UIApplication.

    NOTE: Create only one instance of RichieBackgroundDownloadManager. Use the instance from the main thread only.

    See more

    Declaration

    Objective-C

    @interface RichieBackgroundDownloadManager : NSObject

    Swift

    class RichieBackgroundDownloadManager : NSObject
  • RichieV1Cryptor creates an AES encryptor or decryptor that implements RichieCryptor.

    See more

    Declaration

    Objective-C

    @interface RichieV1Cryptor : NSObject <RichieCryptor>

    Swift

    class RichieV1Cryptor : NSObject, RichieCryptor
  • @brief Abstract UIView subclass for managing indexed collection of subviews.

    RichieIndexedContainerView is an abstract view class for managing indexed collection of subviews. It implements array management for the indexed views and provides callbacks for managing the subview layout.

    The main idea behind RichieIndexedContainerView is that can handle lazily loading and unloading subviews in a similar fashion to UITableView. Views are loaded and added to view hierarchy when they become visible, and are then removed from view hierarchy when they are moved outside of viewable area. It is up to concrete subclasses to manage firstVisibleIndex and lastVisibleIndex, and call setNeedsViewRefresh when they change. This will schedule a view refresh to be done at layout time.

    It is up to the concrete subclass to actually add and remove the managed views to and from the view hierarchy. This allows all kinds of intelligent caching behaviors.

    Concrete subclasses can implemented any kind of actual layout for the subviews. RichieIndexedContainerView delegates frame setting behavior to subclasses by calling -setFrameForView:atIndex: whenever visible views need refreshing. The implementation for this method should be efficient, because this method will be called often.

    See more

    Declaration

    Objective-C

    @interface RichieIndexedContainerView : UIView

    Swift

    class RichieIndexedContainerView : UIView
  • @brief View for scrolling between pages that are UIViews.

    RichiePageScrollerView implements a scrolling view which contains “pages” or different views. Views can have different widths, as returned by dataSource method pageScrollerView:widthOfPageAtIndex:.

    Only a subset of views is kept in memory, very much like UITableView handles cells in a long table.

    See more

    Declaration

    Objective-C

    @interface RichiePageScrollerView : RichieIndexedContainerView

    Swift

    class RichiePageScrollerView : RichieIndexedContainerView
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface RichieRemoteReporter : NSObject
    
    @property (class) RichieRemoteReporting *shared;
    
    @end

    Swift

    class RichieRemoteReporter : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface RichieRemoteReportingSpan : NSObject
    
    - (instancetype)initWithStartSpanBlock:(RichieRemoteReportingSpan * _Nullable (^)(NSString *))startChildSpanBlock
    						   finishBlock:(void(^)(void))finishBlock;
    
    - (nullable RichieRemoteReportingSpan *)startSpanWithName:(NSString *)name;
    - (void)finish;
    
    @end

    Swift

    class RichieRemoteReportingSpan : NSObject
  • NOTE: Default value for modalPresentationStyle is UIModalPresentationOverFullScreen (on iOS 8 and later).

    See more

    Declaration

    Objective-C

    @interface RichieSwiperViewController : UIViewController

    Swift

    class RichieSwiperViewController : UIViewController
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface RichieUIApplicationBackgroundTaskSource : NSObject <RichieBackgroundTaskSource>
    
    -(instancetype) initWithApplication:(UIApplication *)application NS_DESIGNATED_INITIALIZER;
    -(instancetype) init NS_UNAVAILABLE;
    
    @end

    Swift

    class RichieUIApplicationBackgroundTaskSource : NSObject, RichieBackgroundTaskSource
  • Undocumented

    See more

    Declaration

    Swift

    @MainActor
    public final class BooksLibraryEditionsEventLogger : AnalyticsListener

Editions support