title: Cannot subscript a value of type '[String : AnyObject]' with an index of type 'String'
body: <p>I'm trying to get some data from a JSON content(in my data.swift file) and assign it to "comments". Anyone know whats going wrong here and how I can fix it? Seems like a syntax issue that I'm having trouble with.</p>
  
  <p>The error I am getting:
  <img src="https://i.stack.imgur.com/bYG6i.png" alt="The error I am getting"></p>
  
  <pre><code>import UIKit
  
  class CommentsTableViewController: UITableViewController {
  
  var story = [String:AnyObject]()
  var comments = [String:AnyObject]()
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      comments = story["comments"]
  
      tableView.estimatedRowHeight = 140
      tableView.rowHeight = UITableViewAutomaticDimension
  }
  </code></pre>
  
  <p>It's not liking the <code>comments = story["comments"]</code> part.</p>