mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-11 10:04:16 +08:00
Cleanup trailing whitespace. refs #743
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
operation until the entire aggregate operation has completed. This is used by Core
|
||||
Data to connect all object relationships once the entire object graph has been mapped,
|
||||
rather than as each object is encountered.
|
||||
|
||||
|
||||
Designed as a lightweight workalike for NSOperationQueue, which was not usable do to
|
||||
its reliance on threading for concurrent operations. The threading was causing problems
|
||||
with managed objects due to MOC being thread specific.
|
||||
|
||||
|
||||
This class is not intended to be thread-safe and is used for queueing non-concurrent
|
||||
operations that will be executed within the object mapper only. It is not a general purpose
|
||||
work queue.
|
||||
@@ -29,28 +29,28 @@
|
||||
|
||||
/**
|
||||
Adds an NSOperation to the queue for later execution
|
||||
|
||||
|
||||
@param op The operation to enqueue
|
||||
*/
|
||||
- (void)addOperation:(NSOperation *)op;
|
||||
|
||||
/**
|
||||
Adds an NSBlockOperation to the queue configured to executed the block passed
|
||||
|
||||
|
||||
@param block A block to wrap into an operation for later execution
|
||||
*/
|
||||
- (void)addOperationWithBlock:(void (^)(void))block;
|
||||
|
||||
/**
|
||||
Returns the collection of operations in the queue
|
||||
|
||||
|
||||
@return A new aray containing the NSOperation objects in the order in which they were added to the queue
|
||||
*/
|
||||
- (NSArray *)operations;
|
||||
|
||||
/**
|
||||
Returns the number of operations in the queue
|
||||
|
||||
|
||||
@return The number of operations in the queue.
|
||||
*/
|
||||
- (NSUInteger)operationCount;
|
||||
|
||||
Reference in New Issue
Block a user