title: Global Use of Realm Instance in Swift
body: <p>In each of my view controllers where I use Realm, I add the realm as a property to each class:</p>
  
  <pre><code>//Whatevs.swift
  class Whatevs:NSViewController{
    let realm = try! Realm()
  }
  </code></pre>
  
  <p>I then reference it throughout the class via <code>self.realm</code>.</p>
  
  <p>Is there any reason not to make it a globally available instance like this?</p>
  
  <pre><code>//Global.swift &lt;-- General swift file in my app
  let realm = try! Realm() //&lt;-- Not inside a class
  </code></pre>