Created
December 16, 2015 12:27
-
-
Save sergdort/0bd7f6614af0ba44c9c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension SwiftImport { | |
public class func importObjects(context:NSManagedObjectContext) -> (array:[JSONDictionary]) throws -> [Element] { | |
return { array in | |
return try array.map(importObject(context)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment