Skip to content

Commit

Permalink
Make complete method public
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Feb 8, 2016
1 parent eed7204 commit 3e94e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Sync.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import DATAStack
- parameter dataStack: The DATAStack instance.
- parameter completion: The completion block, it returns an error if something in the Sync process goes wrong.
*/
class func changes(changes: [[String : AnyObject]], inEntityNamed entityName: String, var predicate: NSPredicate?, parent: NSManagedObject?, inContext context: NSManagedObjectContext, dataStack: DATAStack, completion: ((error: NSError?) -> Void)?) {
public class func changes(changes: [[String : AnyObject]], inEntityNamed entityName: String, var predicate: NSPredicate?, parent: NSManagedObject?, inContext context: NSManagedObjectContext, dataStack: DATAStack, completion: ((error: NSError?) -> Void)?) {
let entity = NSEntityDescription.entityForName(entityName, inManagedObjectContext: context)!
let localKey = entity.sync_localKey()
let remoteKey = entity.sync_remoteKey()
Expand Down

0 comments on commit 3e94e92

Please sign in to comment.