SwiftstructAppStoreKit

struct AppStoreKit.UnboundedCache

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 10

  1. fieldlet didEnterBackground: Any?+0x28
  2. fieldlet lowMemoryWarnings: Any?+0x8
  3. fieldlet storageBox: AppStoreKit.Box<[A : B]>+0x0
  4. funcremoveAll() -> ()
  5. funcremoveValue(forKey: A) -> ()
  6. initinit(removeConditions: AppStoreKit.RemoveConditions) -> AppStoreKit.UnboundedCache<A, B>
  7. initinit() -> AppStoreKit.UnboundedCache<A, B>
  8. subscriptsubscript.getter : (A) -> B?
  9. typealiastypealias Key = A
  10. typealiastypealias Value = B
struct UnboundedCache<A, B> where A: Swift.Hashable {
    let storageBox: AppStoreKit.Box<[A : B]>
    let lowMemoryWarnings: Any?
    let didEnterBackground: Any?

    init(removeConditions: AppStoreKit.RemoveConditions)
    init()

    func removeValue(forKey: A)
    func removeAll()

    subscript(_: A) -> B? {
        get
        set
    }
}