title: Add a non realm object as ignored property to realm object in swift?
body: <p>I am trying to add a non-realm class object to realm object something like this.</p>
  
  <pre><code>class TrainTripItinerary: Object {
      dynamic var  departStationName: String?
      dynamic var  departStationCode: String?
      var runningStatus: TrainRunningStatus?
  
      override static func ignoredProperties() -&gt; [String] {
          return ["runningStatus"]
      }
  
  }
  </code></pre>
  
  <p>While TrainRunningStatus is not a realm class.</p>
  
  <pre><code>class TrainRunningStatus {
      var trainDataFound: String?
      var startDate: String?
      var startDayDiff: String?
  }
  </code></pre>
  
  <p>I am not able to update runningstatus property now. Anyone know how it works? I fetch separately runnningstatus and assign it to the realm object later but it stays nil even after the assignment.</p>
  
  <p>eg.</p>
  
  <pre><code>let runningStatus = TrainRunningStatus()
  trainTripItinerary.runningStatus = runningStatus
  </code></pre>
  
  <p>This line is not working, trainTripItinerary runningStatus property is not set properly its always nil.</p>