title: Replacing row view of NStableView on selecting a row
body: <p>I have a NsTableView and I want to use two type NSTableRowView for rows of table. For selected row There is complex NStableRowView and for non selected row there will be simple NSTableRowView with two labels. 
  Here is what I have tried --</p>
  
  <pre><code>    extension CMMAccountSettingViewController:NSTableViewDelegate{
      func tableView(tableView: NSTableView, rowViewForRow row: Int) -&gt; NSTableRowView? {
          if row == accountListTableView.selectedRow{
              var storyboard = NSStoryboard(name: "Settings", bundle: nil)
              var accountController = storyboard?.instantiateControllerWithIdentifier("account") as! CMMAccountViewController
              var rowView = accountController.view as! CMMAccountView
              return rowView
          }
          else
          {
              var rowView = accountListTableView.makeViewWithIdentifier("accountSeetingsRow", owner: self) as! CMMAccountRowView
              rowView.titleLable.stringValue = listOfAccounts[row].nickname!
              rowView.captionLable.stringValue = listOfAccounts[row].accountDisplayName!
              return rowView
  
          }
      }
  
      func tableView(tableView: NSTableView, heightOfRow row: Int) -&gt; CGFloat {
          if accountListTableView.selectedRow == row{
            return 350
          }
          else{
            return 75
          }
      }
  
      func tableViewSelectionDidChange(notification: NSNotification) {
          var coloumnIndexSet = NSIndexSet(indexesInRange: NSMakeRange(0, accountListTableView.tableColumns.count))
          accountListTableView.reloadDataForRowIndexes(accountListTableView.selectedRowIndexes, columnIndexes: coloumnIndexSet)
      }
  }
  </code></pre>
  
  <p>But This approach is not working. How can I replace selected row view with animation?
  Thanks for your help.</p>