Skip to content

Commit

Permalink
Cleaning up more documentation for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyarnold committed May 28, 2014
1 parent 6a25848 commit 039ed79
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions MagicalRecord/Core/MagicalRecord+Options.h
Expand Up @@ -72,7 +72,7 @@ typedef NS_ENUM (NSInteger, MagicalRecordLoggingLevel)
@return current value of shouldAutoCreateManagedObjectModel.
@since Available in v2.0.4 and later
@since Available in v2.0.4 and later.
*/
+ (BOOL) shouldAutoCreateManagedObjectModel;

Expand All @@ -81,7 +81,7 @@ typedef NS_ENUM (NSInteger, MagicalRecordLoggingLevel)
@param autoCreate BOOL value that flags whether the default persistent store should be automatically created.
@since Available in v2.0.4 and later
@since Available in v2.0.4 and later.
*/
+ (void) setShouldAutoCreateManagedObjectModel:(BOOL)autoCreate;

Expand All @@ -90,7 +90,7 @@ typedef NS_ENUM (NSInteger, MagicalRecordLoggingLevel)
@return current value of shouldAutoCreateDefaultPersistentStoreCoordinator.
@since Available in v2.0.4 and later
@since Available in v2.0.4 and later.
*/
+ (BOOL) shouldAutoCreateDefaultPersistentStoreCoordinator;

Expand All @@ -99,7 +99,7 @@ typedef NS_ENUM (NSInteger, MagicalRecordLoggingLevel)
@param autoCreate BOOL value that flags whether the default persistent store should be automatically created.
@since Available in v2.0.4 and later
@since Available in v2.0.4 and later.
*/
+ (void) setShouldAutoCreateDefaultPersistentStoreCoordinator:(BOOL)autoCreate;

Expand All @@ -109,7 +109,7 @@ typedef NS_ENUM (NSInteger, MagicalRecordLoggingLevel)
@return current value of shouldDeleteStoreOnModelMismatch
@since Available in v2.0.4 and later
@since Available in v2.0.4 and later.
*/
+ (BOOL) shouldDeleteStoreOnModelMismatch;

Expand All @@ -119,7 +119,7 @@ typedef NS_ENUM (NSInteger, MagicalRecordLoggingLevel)
@param shouldDelete BOOL value that flags whether mismatched stores should be deleted
@since Available in v2.0.4 and later
@since Available in v2.0.4 and later.
*/
+ (void) setShouldDeleteStoreOnModelMismatch:(BOOL)shouldDelete;

Expand Down
18 changes: 9 additions & 9 deletions MagicalRecord/Core/MagicalRecord.h
Expand Up @@ -37,7 +37,7 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
/**
Provides class methods to help setup, save, handle errors and provide information about the currently loaded version of MagicalRecord.
@since Available in v1.0 and later
@since Available in v1.0 and later.
*/
@interface MagicalRecord : NSObject

Expand All @@ -46,7 +46,7 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
@return The current version as a double.
@since Available in v2.3 and later
@since Available in v2.3 and later.
*/
+ (MagicalRecordVersionNumber) version;

Expand All @@ -55,14 +55,14 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
@return Description of the current state of the stack.
@since Available in v2.3 and later
@since Available in v2.3 and later.
*/
+ (NSString *) currentStack;

/**
Cleans up the entire MagicalRecord stack. Sets the default model, store and context to nil before posting a kMagicalRecordCleanedUpNotification notification.
@since Available in v1.0 and later
@since Available in v1.0 and later.
*/
+ (void) cleanUp;

Expand All @@ -71,7 +71,7 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
@param klass Class to set the model from
@since Available in v2.0 and later
@since Available in v2.0 and later.
*/
+ (void) setDefaultModelFromClass:(Class)klass;

Expand All @@ -80,16 +80,16 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
@param modelName Model name as a string, including file extension
@since Available in v1.0 and later
@since Available in v1.0 and later.
*/
+ (void) setDefaultModelNamed:(NSString *)modelName;

/**
Returns the default persistent store filename that will be used if none is provided. This will be the main bundle's `kCFBundleNameKey` if it is available, or "CoreDataStore.sqlite" if it is not.
Determines the store file name your app should use. This method is used by the MagicalRecord SQLite stacks when a store file is not specified. The file name returned is in the form "<ApplicationName>.sqlite". `<ApplicationName>` is taken from the application's info dictionary, which is retrieved from the method [[NSBundle mainBundle] infoDictionary]. If no bundle name is available, "CoreDataStore.sqlite" will be used.
@return Default persistent store filename
@return String of the form <ApplicationName>.sqlite
@since Available in v2.0 and later
@since Available in v2.0 and later.
*/
+ (NSString *) defaultStoreName;

Expand Down

0 comments on commit 039ed79

Please sign in to comment.