Objective-C: Creating a file purely for holding variables
===

I would like to add a file to my project, who's sole purpose would be to hold an array.  I would then `#import` this file wherever I need to add/get from the array.

My problem is that when I create a new file (I'm using Xcode 4), I'm not sure what type of template to choose, and then what subclass to choose.

My reason for doing all of this is because I have a SplitView-Based app, and one of the views has a textfield, where I am trying to output data.  My problem is that whenever I switch to a different view and then switch back, only the most recent entry is there.  I am not 100% why that is but I suspect it is because when I switch to a different view, the current view is forgotten about, along with the variables in it.