Created
September 12, 2016 14:53
-
-
Save tonisuter/0511db78b9f743298d480d69a1e34167 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
let memoryPair = MemoryPair(context: coreDataStack.context) | |
memoryPair.creationDate = Date() | |
memoryPair.image1 = image1 | |
memoryPair.text1 = code1 | |
memoryPair.image2 = image2 | |
memoryPair.text2 = code2 | |
coreDataStack.saveContext() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment