MBMRenderCacheOptions


@interface MBMRenderCacheOptions : NSObject

Parameters that defines behavior of the render cache.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSize:(nullable NSNumber *)size NS_REFINED_FOR_SWIFT;
  • Maximum size allocated for the render cache in megabytes. Setting the value to zero will effectively disable the feature.

    Recommended starting values for the cache sizes are 64 and 128 for devices with pixel ratio 1.0 and > 1.0 respectively.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *size;