EDIT: Although the answers are teaching me things, I still have no idea how I might "implement" a model. Can anyone give me an example as to how I would create a simple model class that has a few basic functions that make calls to NSUserDefaults or JSON web calls and how I would access this from ANY of my view controllers?
I am just beginning iOS development and have come to the point where my app will require a Model to interact with the overall data flow between controllers, but am unsure as to how they should be implemented properly.
I understand that the View's are in the storyboard, and the Controllers are the classes associated with those views.
What is the proper way to implement a central Model for an app? Do i create a class (ie "MyModel.h/.m") and then import it from all of my view controllers?
I also see people using a UINavigationController->RootViewController as their model, is this viable?
I have googled this question and searched stack overflow for a few hours, but am now resorting to a new question.
EDIT: Although the answers are teaching me things, I still have no idea how I might "implement" a model. Can anyone give me an example as to how I would create a simple model class that has a few basic functions that make calls to NSUserDefaults or JSON web calls and how I would access this from ANY of my view controllers?