title: How to use RLMArray to save an Array
body: <p>Note: I am fairly new to Realm and Swift, so excuse any obvious things I don't understand.</p>
  
  <p>I have a working UITableView which I plan to populate with tasks. I want the user to be able to add and delete tasks as needed, so I can't hardcode the tasks, and I want the tasks to be saved between app launches. The most obvious way to do this would be to create an array that gets saved in Realm. The problem is, I don't understand how to save an array in Realm. I have read the documentation on the Realm site but have found it rather confusing due to myself still being fairly new to Swift (And that it's in ObjC). How would you create an array and save it? I originally tried this, and when it didn't work I did some research and found that RLMArray isn't actually an array:</p>
  
  <pre><code>let ToDoTasksArray: RLMArray = ["Task Goes Here", "Task Goes Here2"]
  </code></pre>
  
  <p>Any help on this? Thanks!</p>
  
  <p>Edit:</p>
  
  <p>I have also tried saving an array into an RLMObject as an object as so:</p>
  
  <pre><code>realm.addObject(ToDoTasksArray)
  </code></pre>
  
  <p>But that also doesn't work, which doesn't surprise me. An array is not an object.</p>