Declared in NSPersistentStoreCoordinator+NMB.h

Overview

This category provides convenient properties and methods for the cooperation between NMBase and NSPersistentStoreCoordinator.

Properties

nimbusBase

The nimbus base bound to the reciever.

@property (nonatomic, readonly) NMBase *nimbusBase

Declared In

NSPersistentStoreCoordinator+NMB.h

Instance Methods

initWithManagedObjectModel:nimbusConfigs:

A convenient method to bind a nimbus base to the reciever with configs.

- (instancetype)initWithManagedObjectModel:(NSManagedObjectModel *)model nimbusConfigs:(NSDictionary *)nmbCnfigs

Parameters

model

A managed object model.

nmbCnfigs

A collection of configs with which the nimbus base should be configured with.

Return Value

The receiver, initialized with model and nimbus base configured with nimbusConfigs.

Discussion

This init method is used to merge method initWithManagedObjectModel: of the reciever and method initWithPSCoordinator:configs: of NMBase, so that an instance of nimbus base can be bound to the reciever, and don’t need to store it anywhere else.

Declared In

NSPersistentStoreCoordinator+NMB.h