I have a application that uses a files that corresponds with a view controller, however I want to include userdefaults (NSuserdefaults)in my program. Where would I create it as in the line
let defaults = NSUserDefaults.standardUserDefaults()
Where would I create the userdefaults? Would I put it in a separate file that a viewcontroller file for say a start scree? Or would I make a file just for the NSuserdefualt creation and call it in the other viewcontroller files?