title: Deleting with one-to-many relationship
body: <p>I have a one-to-many relationship:</p>
  
  <pre><code>class GameSystem: Object {
  dynamic var gameSystemName = ""
  }
  
  class games: Object {
  dynamic var gameSystemName = gameSystemName().name
  dynamic var gameTitle = ""
  dynamic var gameGenre = ""
  }
  </code></pre>
  
  <p>The <code>gameSystemName</code>s are currently displayed on a TableView. If the user deletes a <code>gameSystemName</code>, I want that <code>gameSystemName</code> along with all of that system's games deleted.</p>
  
  <p>The code I'm currently using will only delete the <code>GameSystem</code>, but leaves all the games.</p>
  
  <pre><code>    func deleteRowAtIndexPath(indexPath: NSIndexPath) {
      let realm = Realm()
      let objectToDelete = gameSystems[indexPath.row]
      realm.write {
          realm.delete(objectToDelete)
      }
      gameSystemTableView.deleteRowsAtIndexPaths([indexPath], withRowAnimation: .Fade)
      gameSystems = Realm(path: Realm.defaultPath).objects(GameSystem)
  }
  </code></pre>
  
  <p>I'm assuming there's a simple way to do this.</p>