Created
September 2, 2015 14:40
-
-
Save swizzlr/2bafcd83ad8583a97c24 to your computer and use it in GitHub Desktop.
Revisions
-
swizzlr created this gist
Sep 2, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ // Creates a new in memory realm for testing internal func NewTestRealm() -> Realm { let idString = NSUUID().UUIDString let config = Realm.Configuration(inMemoryIdentifier: idString) return try! Realm(configuration: config) } import RealmSwift import Foundation