luxlabs header browser preview


@class NSString, NSArray, NSSet, NSMutableDictionary, NSPersistentStoreCoordinator, NSQueryGenerationToken, NSMutableSet, _PFManagedObjectReferenceQueue, _PFContextMapTable, NSUndoManager;

@interface NSManagedObjectContext : NSObject <NSCoding, NSLocking> {
    id _queueOwner;
    int _cd_rc;
    int _spinLock;
    void *_dispatchQueue;
    id _parentObjectStore;
    struct _managedObjectContextFlags { unsigned char _registeredForCallback : 1; unsigned char _propagatesDeletesAtEndOfEvent : 1; unsigned char _exhaustiveValidation : 1; unsigned char _processingChanges : 1; unsigned char _useCommittedSnapshot : 1; unsigned char _registeredUndoTransactionID : 1; unsigned char _retainsAllRegisteredObjects : 1; unsigned char _savingInProgress : 1; unsigned char _wasDisposed : 1; unsigned char _unprocessedChangesPending : 1; unsigned char _hasExcessivePrepareForPendingChangesAttempts : 1; unsigned char _isDirty : 1; unsigned char _ignoreUndoCheckpoints : 1; unsigned char _propagatingDeletes : 1; unsigned char _isNSEditorEditing : 1; unsigned char _isMainThreadBlessed : 1; unsigned char _isImportContext : 1; unsigned char _preflightSaveInProgress : 1; unsigned char _disableDiscardEditing : 1; unsigned char _isParentStoreContext : 1; unsigned char _postSaveNotifications : 1; unsigned char _isMerging : 1; unsigned char _concurrencyType : 1; unsigned char _deleteInaccessible : 1; unsigned char _priority : 2; unsigned char _autoMerge : 1; unsigned char _isXPCServerContext : 1; unsigned char _pushSecureDelete : 1; unsigned char _refreshAfterSave : 1; unsigned char _allowAncillary : 1; unsigned char _generatedMutatedIDsNotification : 1; unsigned char _postSavedObjectNotifications : 1; unsigned char _allowAdditionalUserInfoKeys : 1; unsigned char _trackSQLiteDatabaseStatistics : 1; unsigned char _usedBySwift : 1; unsigned int _reservedFlags : 28; } _flags;
    short _undoTransactionID;
    short _ignoreChangeNotification;
    int _lockCount;
    NSMutableSet *_unprocessedChanges;
    NSMutableSet *_unprocessedDeletes;
    NSMutableSet *_unprocessedInserts;
    NSMutableSet *_insertedObjects;
    NSMutableSet *_deletedObjects;
    NSMutableSet *_changedObjects;
    NSMutableSet *_lockedObjects;
    NSMutableSet *_refreshedObjects;
    _PFContextMapTable *_infoByGID;
    id *_cachedObsInfoByEntity;
    id _lock;
    double _fetchTimestamp;
    long long _referenceCallbackRegistration;
    _PFManagedObjectReferenceQueue *_referenceQueue;
    NSString *_contextLabel;
    NSArray *_persistentStoreIdentifiers;
    id *_additionalPrivateIvars;
    void *_reserved1;
}

@property (nonatomic) BOOL _isSwiftBound;
@property (retain) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (retain) NSManagedObjectContext *parentContext;
@property (copy) NSString *name;
@property (retain, nonatomic) NSUndoManager *undoManager;
@property (readonly, nonatomic) BOOL hasChanges;
@property (readonly, nonatomic) NSMutableDictionary *userInfo;
@property (readonly) unsigned long long concurrencyType;
@property (readonly, nonatomic) NSSet *insertedObjects;
@property (readonly, nonatomic) NSSet *updatedObjects;
@property (readonly, nonatomic) NSSet *deletedObjects;
@property (readonly, nonatomic) NSSet *registeredObjects;
@property (nonatomic) BOOL propagatesDeletesAtEndOfEvent;
@property (nonatomic) BOOL retainsRegisteredObjects;
@property BOOL shouldDeleteInaccessibleFaults;
@property double stalenessInterval;
@property (retain) id mergePolicy;
@property (readonly, nonatomic) NSQueryGenerationToken *queryGenerationToken;
@property (nonatomic) BOOL automaticallyMergesChangesFromParent;
@property (copy) NSString *transactionAuthor;

+ (id)allocWithZone:(struct _NSZone { } *)a0;
+ (BOOL)accessInstanceVariablesDirectly;
+ (id)alloc;
+ (void)initialize;
+ (id)new;
+ (void)_mergeChangesFromRemoteContextSave:(id)a0 intoContexts:(id)a1;
+ (id)createFutureForFileAtURL:(id)a0;
+ (void)mergeChangesFromRemoteContextSave:(id)a0 intoContexts:(id)a1;

- (void)managedObjectContextDidUnregisterObjectsWithIDs:(id)a0 generation:(id)a1;
- (BOOL)save:(id *)a0;
- (void)_setDelegate:(id)a0;
- (id)_delegate;
- (void)refreshAllObjects;
- (id)retain;
- (id)_newOrderedRelationshipInformationForRelationship:(id)a0 forObjectWithID:(id)a1 withContext:(id)a2 error:(id *)a3;
- (void)deleteObject:(id)a0;
- (id)_allOrderKeysForDestination:(id)a0 inRelationship:(id)a1 error:(id *)a2;
- (id)executeRequest:(id)a0 withContext:(id)a1 error:(id *)a2;
- (id)newValueForRelationship:(id)a0 forObjectWithID:(id)a1 withContext:(id)a2 error:(id *)a3;
- (BOOL)obtainPermanentIDsForObjects:(id)a0 error:(id *)a1;
- (id)init;
- (id)newValuesForObjectWithID:(id)a0 withContext:(id)a1 error:(id *)a2;
- (void)managedObjectContextDidRegisterObjectsWithIDs:(id)a0 generation:(id)a1;
- (void)reset;
- (void)dealloc;
- (unsigned long long)retainCount;
- (BOOL)shouldPerformSecureOperation;
- (void)setShouldPerformSecureOperation:(BOOL)a0;
- (id)existingObjectWithID:(id)a0 error:(id *)a1;
- (void)performBlockAndWait:(id /* block */)a0;
- (void)redo;
- (void)encodeWithCoder:(id)a0;
- (void)lock;
- (BOOL)_tryRetain;
- (BOOL)trackSQLiteDatabaseStatistics;
- (void)rollback;
- (void)_mergeChangesFromDidSaveDictionary:(id)a0 usingObjectIDs:(BOOL)a1;
- (void)unlock;
- (id)description;
- (void)observeValueForKeyPath:(id)a0 ofObject:(id)a1 change:(id)a2 context:(void *)a3;
- (BOOL)_isDeallocating;
- (id)executeFetchRequest:(id)a0 error:(id *)a1;
- (void)setTrackSQLiteDatabaseStatistics:(BOOL)a0;
- (void)insertObject:(id)a0;
- (id)executeRequest:(id)a0 error:(id *)a1;
- (void)undo;
- (id)initWithConcurrencyType:(unsigned long long)a0;
- (void)performBlock:(id /* block */)a0;
- (oneway void)release;
- (BOOL)tryLock;
- (id)initWithCoder:(id)a0;
- (BOOL)isEditing;
- (unsigned long long)countForFetchRequest:(id)a0 error:(id *)a1;
- (void)_setAllowsExpandedUserInfoKeys:(BOOL)a0;
- (void)_undoDeletions:(id)a0;
- (void)assignObject:(id)a0 toPersistentStore:(id)a1;
- (BOOL)_allowAncillaryEntities;
- (void)_mergeChangesFromRemoteContextSave:(id)a0 presupposingQueryGeneration:(id)a1;
- (void)_automaticallyMergeChangesFromContextDidSaveNotification:(id)a0;
- (id)_changeTrackingToken__;
- (void)_clearChangedThisTransaction:(id)a0;
- (BOOL)_disableDiscardEditing;
- (void)_forceInsertionForObject:(id)a0;
- (void)_forgetObject:(id)a0 propagateToObjectStore:(BOOL)a1 removeFromRegistry:(BOOL)a2;
- (BOOL)_isSwiftBound;
- (void)_managedObjectContextEditor:(id)a0 didCommit:(BOOL)a1 contextInfo:(struct { id x0; SEL x1; void *x2; } *)a2;
- (void)_mergeChangesFromRemoteContextSave:(id)a0;
- (void)_noop:(id)a0;
- (id)_orderKeysForRelationshipWithName__:(id)a0 onObjectWithID:(id)a1;
- (id)_orderedSetWithResultsFromFetchRequest:(id)a0;
- (BOOL)_parentObtainPermanentIDsForObjects:(id)a0 context:(id)a1 error:(id *)a2;
- (BOOL)_performImmediate:(id /* block */)a0;
- (void)_processChangedStoreConfigurationNotification:(id)a0;
- (id)_queryGenerationToken__;
- (id)_retainedCurrentQueryGeneration:(id)a0;
- (id)_retainedObjectsFromRemovedStore:(id)a0;
- (void)_setAllowAncillaryEntities:(BOOL)a0;
- (BOOL)_setChangeTrackingTokenFromToken:(id)a0 error:(id *)a1;
- (void)_setDisableDiscardEditing:(BOOL)a0;
- (void)_setFaultingError:(id)a0;
- (BOOL)_setQueryGenerationFromToken:(id)a0 error:(id *)a1;
- (void)_stopConflictDetectionForObject:(id)a0;
- (void)_storeConfigurationChanged:(id)a0;
- (void)_undoDeletionsMovedToUpdates:(id)a0;
- (void)_undoInsertions:(id)a0;
- (void)_undoManagerCheckpoint:(id)a0;
- (void)_undoUpdates:(id)a0;
- (BOOL)_updateLocationsOfObjectsToLocationByOrderKey:(id)a0 inRelationshipWithName:(id)a1 onObjectWithID:(id)a2 error:(id *)a3;
- (BOOL)commitEditing;
- (BOOL)commitEditingAndReturnError:(id *)a0;
- (void)commitEditingWithDelegate:(id)a0 didCommitSelector:(SEL)a1 contextInfo:(void *)a2;
- (id)databaseStatistics;
- (void)detectConflictsForObject:(id)a0;
- (void)discardEditing;
- (BOOL)evictFuture:(id)a0 withError:(id *)a1;
- (void)mergeChangesFromContextDidSaveNotification:(id)a0;
- (void)objectDidBeginEditing:(id)a0;
- (void)objectDidEndEditing:(id)a0;
- (id)objectRegisteredForID:(id)a0;
- (void)objectWillChange:(id)a0;
- (id)objectWithID:(id)a0;
- (id)performBlockWithResult:(id /* block */)a0;
- (void)performWithOptions:(unsigned long long)a0 andBlock:(id /* block */)a1;
- (void)processPendingChanges;
- (void)refreshObject:(id)a0 mergeChanges:(BOOL)a1;
- (BOOL)setQueryGenerationFromToken:(id)a0 error:(id *)a1;
- (void)setShouldRefreshAfterSave:(BOOL)a0;
- (void)set_isSwiftBound:(BOOL)a0;
- (BOOL)shouldHandleInaccessibleFault:(id)a0 forObjectID:(id)a1 triggeredByProperty:(id)a2;
- (BOOL)shouldRefreshAfterSave;

@end