title: Add arrays to Realm with swift 3
body: <p>I'm new in Realm and I tried to add an Array as I did with strings and I ended up with some errors. So after a little search I found out a solution:</p>
  
  <pre><code>class Sensors : Object {
  
  
      dynamic var name = ""
      dynamic var message = ""
  
      var topic: [String] {
          get {
              return _backingNickNames.map { $0.stringValue }
          }
          set {
              _backingNickNames.removeAll()
              _backingNickNames.append(objectsIn: newValue.map({ RealmString(value: [$0]) }))
          }
      }
      let _backingNickNames = List&lt;RealmString&gt;()
  
      override static func ignoredProperties() -&gt; [String] {
          return ["topic"]
      }
  
  
  
  
  }
  
  class RealmString: Object {
      dynamic var stringValue = ""
  }
  </code></pre>
  
  <p>This is working very good, now I want to add another array inside this class.
  If someone knows any other ways to add arrays with realm please share it.</p>
  
  <p>Thanks in advance</p>