1. José Manuel Sánchez Peñarroja
  2. BMF

Source

BMF / bmf / shared / subspecs / coredata / BMFManagedContextOperationsTask.h

//
//  BMFManagedContextOperationsTask.h
//  Pods
//
//  Created by Jose Manuel Sánchez Peñarroja on 13/06/14.
//
//

#import "BMFOperationsTask.h"

@interface BMFManagedContextOperationsTask : BMFOperationsTask

@property (nonatomic, strong) NSManagedObjectContext *context;

/// Num of operations to wait to complete before saving the context. If there are less operations than this enqueued the context will be saved when all of them have finished. 10 by default.
@property (nonatomic, assign) NSUInteger batchCount;

- (instancetype) initWithOperations:(NSArray *) operations inContext:(NSManagedObjectContext *) context;

@end