title: RealmSwift: Convert Results to Swift Array
body: <p>What I want to implement:</p>
  
  <pre><code>class func getSomeObject() -&gt; [SomeObject]? {
      let objects = Realm().objects(SomeObject)
  
      return objects.count &gt; 0 ? objects : nil
  }
  </code></pre>
  
  <p>How can I return object as <code>[SomeObject]</code> instead if <code>Results</code>?</p>