title: Declaring Global Variables in Swift
body: <p>I want to make a global array of custom objects that can be accessed throughout the app (AppDelegate, ViewController classes, TableViewController classes, etc). I have researched for a way to do it, but have not found an answer. I have tried making giving the array a public scope, but I get a complier warning which says <code>Declaring public variable from internal class</code> and when I try to access it in a different file, I get an error that says <code>Use of unresolved identifier 'arrayObjectives'</code></p>
  
  <p>How would I go about making that array globally accessible to all files in the application and where would I instantiate that array?</p>