Created
August 25, 2016 07:53
-
-
Save 3lvis/02497a0fd9f1c04c26f750799ed94ed2 to your computer and use it in GitHub Desktop.
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 characters
class func dataStackWithModelName(modelName: String) -> DATAStack { | |
let bundle = NSBundle(forClass: Helper.self) | |
let dataStack = DATAStack(modelName: modelName, bundle: bundle, storeType: .SQLite) | |
return dataStack | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment