Objective-CclassScreenTimeCore
STPersistenceController
@interface STPersistenceController : NSObject <STDebouncerDelegate, STPersistenceControllerProtocol>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolSTDebouncerDelegate
- protocolSTPersistenceControllerProtocol
Members 39
- ivar
id <STPersistentStoreChangeHandler> _changeHandler;+0x18 - ivar
STDebouncer *_changeNotificationDebouncer;+0x20 - ivar
NSObject<OS_dispatch_queue> *_coreDataQueue;+0x10 - ivar
NSPersistentContainer *_persistentContainer;+0x8 - method
- (void).cxx_destruct; - method
- (void)_logAboutMissingStoreName:(id)arg0; - method
- (void)_persistentStoreCoordinatorStoresDidChange:(id)arg0; - method
- (void)_remotePersistentStoreChangesDidCoalesce:(id)arg0; - method
- (id)changeHandler; - method
- (id)changeNotificationDebouncer; - method
- (id)cloudStore; - method
- (id)coreDataQueue; - method
- (void)debouncer:(id)arg0 didDebounce:(id)arg1; - method
- (id)descriptionForPersistentStore:(id)arg0; - method
- (BOOL)hasStoreLoaded; - method
- (id)init; - method
- (id)initWithPersistentContainer:(id)arg0 persistentStoreChangeHandler:(id)arg1 notificationDebouncer:(id)arg2; - method
- (id)localStore; - method
- (id)newBackgroundContext; - method
- (void)performBackgroundTask:(id /* block */)arg0; - method
- (void)performBackgroundTaskAndWait:(id /* block */)arg0; - method
- (id)persistentContainer; - method
- (void)remotePersistentStoreDidChange:(id)arg0; - method
- (BOOL)saveContext:(id)arg0 error:(id *)arg1; - method
- (void)setCoreDataQueue:(id)arg0; - method
- (void)setPersistentContainer:(id)arg0; - method
- (id)viewContext; - property
@property(readonly) id <STPersistentStoreChangeHandler> changeHandler; - property
@property(readonly) STDebouncer *changeNotificationDebouncer; - property
@property(readonly) NSPersistentStore *cloudStore; - property
@property(retain, nonatomic) NSObject<OS_dispatch_queue> *coreDataQueue; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly, nonatomic) BOOL hasStoreLoaded; - property
@property(readonly) unsigned long long hash; - property
@property(readonly) NSPersistentStore *localStore; - property
@property(retain, nonatomic) NSPersistentContainer *persistentContainer; - property
@property(readonly) Class superclass; - property
@property(readonly, nonatomic) NSManagedObjectContext *viewContext;
Header
@interface STPersistenceController : NSObject <STDebouncerDelegate, STPersistenceControllerProtocol> { NSPersistentContainer *_persistentContainer; NSObject<OS_dispatch_queue> *_coreDataQueue; id<STPersistentStoreChangeHandler> _changeHandler; STDebouncer *_changeNotificationDebouncer; } @property (nonatomic, strong) NSPersistentContainer *persistentContainer; @property (nonatomic, strong) NSObject<OS_dispatch_queue> *coreDataQueue; @property (readonly) id<STPersistentStoreChangeHandler> changeHandler; @property (readonly) STDebouncer *changeNotificationDebouncer; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; @property (nonatomic, readonly) NSManagedObjectContext *viewContext; @property (nonatomic, readonly) BOOL hasStoreLoaded; @property (readonly) NSPersistentStore *localStore; @property (readonly) NSPersistentStore *cloudStore; - (id)changeHandler; - (id)newBackgroundContext; - (void)performBackgroundTask:(id /* block */)performBackgroundTask; - (id)viewContext; - (void).cxx_destruct; - (id)init; - (id)localStore; - (void)setPersistentContainer:(id)persistentContainer; - (id)persistentContainer; - (void)remotePersistentStoreDidChange:(id)remotePersistentStoreDidChange; - (void)_logAboutMissingStoreName:(id)missingStoreName; - (void)_persistentStoreCoordinatorStoresDidChange:(id)_persistentStoreCoordinatorStoresDidChange; - (void)_remotePersistentStoreChangesDidCoalesce:(id)_remotePersistentStoreChangesDidCoalesce; - (id)changeNotificationDebouncer; - (id)cloudStore; - (id)coreDataQueue; - (void)debouncer:(id)debouncer didDebounce:(id)didDebounce; - (id)descriptionForPersistentStore:(id)persistentStore; - (BOOL)hasStoreLoaded; - (id)initWithPersistentContainer:(id)persistentContainer persistentStoreChangeHandler:(id)persistentStoreChangeHandler notificationDebouncer:(id)notificationDebouncer; - (void)performBackgroundTaskAndWait:(id /* block */)wait; - (BOOL)saveContext:(id)saveContext error:(id *)error; - (void)setCoreDataQueue:(id)coreDataQueue; @end