Add task markup for Core Data category comments

This commit is contained in:
Blake Watters
2012-09-12 16:44:31 -04:00
parent 9379875b95
commit 90cae722ec
2 changed files with 20 additions and 0 deletions

View File

@@ -15,6 +15,10 @@
*/
@interface NSManagedObject (RKAdditions)
///--------------------------------------
/// @name Inspecting Managed Object State
///--------------------------------------
/**
Determines if the receiver has been deleted from the persistent store
and removed from the object graph.

View File

@@ -15,6 +15,10 @@
*/
@interface NSManagedObjectContext (RKAdditions)
///---------------------------------
/// @name Inserting a Managed Object
///---------------------------------
/**
Inserts a new managed object for the entity for the given name.
@@ -28,6 +32,10 @@
*/
- (id)insertNewObjectForEntityForName:(NSString *)entityName;
///-------------------------------
/// @name Counting Managed Objects
///-------------------------------
/**
Convenience method for performing a count of the number of instances of an entity with the given name.
@@ -46,6 +54,10 @@
*/
- (NSUInteger)countForEntityForName:(NSString *)entityName predicate:(NSPredicate *)predicate error:(NSError **)error;
///----------------------------------------------
/// @name Fetching Managed Objects by Primary Key
///----------------------------------------------
/**
Fetches a single managed object for the given entity with the given value for the primary key attribute
in the receiver.
@@ -66,6 +78,10 @@
*/
- (id)fetchObjectForEntityForName:(NSString *)entityName withValueForPrimaryKeyAttribute:(id)primaryKeyValue;
///-------------------------------------------------
/// @name Saving the Context to the Persistent Store
///-------------------------------------------------
/**
Saves the receiver and then traverses up the parent context chain until a parent managed object context
with a nil parent is found. If the final ancestor context does not have a reference to the persistent store