title: Dictionary access in Swift
body: <p>Consider the following code which gets an array of dictionaries from a plist:    </p>
  
  <pre><code>let path = NSBundle.mainBundle().pathForResource("books", ofType: "plist")
  let dict = NSDictionary(contentsOfFile: path)
  let books:Array = dict.objectForKey("Books") as Array&lt;Dictionary&lt;String, AnyObject&gt;&gt; //I hate how ugly and specific this is. There has got to be a better way??? Why can't I just say let books:Array = dict.objectForKey("Books")?
  
  let rnd = Int(arc4random_uniform((UInt32(books.count))))
  let bookData:Dictionary = books[rnd]
  </code></pre>
  
  <p>Now, I'm having trouble accessing individual book dictionaries:</p>
  
  <pre><code>let title:String = bookData.objectForKey("title") //[String: AnyObject] does not have a member named 'objectForKey'
  
  let title:String = bookData["title"] // (String, AnyObject) is not convertible to String 
  </code></pre>
  
  <p>What is the proper way to find the title of the book?</p>