title: Can I use LinkingObjects for a One to Many relationship without List<> in Realm Swift
body: <p>I currently have an app that uses a One-to-Many relationship as follow...</p>
  <pre><code>class Person: Object {
      @objc dynamic var personName = &quot;&quot;
      @objc dynamic var createdAt = NSDate()
      let dogs = List&lt;Dog&gt;()
  }
  
  class Dog:Object{
      @objc dynamic var dogName:String = &quot;&quot;
      @objc dynamic var createdAt = NSDate()
  }
  </code></pre>
  <p>Everything works fine but I'm trying to use a <code>CloudKit</code> syncing framework that doesn't support the <code>List&lt;SomeObject&gt;</code> structure and the only option available is <code>LinkingObjects</code> so I would need to restructure my code as follow...</p>
  <pre><code>class Person: Object {
      @objc dynamic var personName = &quot;&quot;
      @objc dynamic var createdAt = NSDate()
      let dogs = LinkingObjects(fromType: Dog.self, property: &quot;owner&quot;)
  }
  
  class Dog:Object{
      @objc dynamic var dogName:String = &quot;&quot;
      @objc dynamic var createdAt = NSDate()
      @objc dynamic var owner: Person?
  }
  </code></pre>
  <p>Is this a viable approach to accomplish a One-to-Many relationship in <code>Realm</code>?</p>
  <p>Are there any issues if I use <code>LinkingObjects</code> as shown above to represent a One-to-Many relationship?</p>
  <p>Thanks!</p>