title: How do I save a multi dimensional array to Realm using Swift?
body: <p>this is my first time posting a question so forgive me if I do something wrong. </p>
  
  <p>I would really appreciate if somebody could explain a way of saving a multi dimensional array in Realm using swift. I've looked at a lot of forums and unfortunately I'm stumped. I've been trying to solve this for a week now.</p>
  
  <p>I have an array called sequence made up of Int arrays</p>
  
  <p><code>var sequence = [[0, 1], [0, 2, 1], [4, 5, 1]]</code></p>
  
  <p>I need to save this in realm but I also need to be able to add and remove arrays from within the array when i call a method.</p>
  
  <p>If somebody has a solution I'd be extremely gratefull.</p>
  
  <p>Thanks.</p>