title: Get Album titles for indexed uitableview using MPMediaQuery in swift?
body: <p>I'm finding the deeply nested structure of the MPMediaQuery difficult to navigate.</p>
  
  <p>I'm trying to get the title(s) of albums for each Section to display in an indexed UITableView.</p>
  
  <p>The basic query and code to get all albums:</p>
  
  <pre><code>let myQuery:MPMediaQuery = MPMediaQuery.albumsQuery()
  myQuery.groupingType = MPMediaGrouping.Album
  let allAlbums = myQuery.collections
  
  // This prints the total number of albums (either way works)
  // Or so I thought - but this does not give the album count per section
  // I don't know what this is returning!
  print("number albums \(myQuery.collections?.count)")
  print("number albums \(allAlbums?.count)")
  
  // this prints out the title of each album
  for album in allAlbums!{
      print("---------------")
      print("albumTitle \(album.representativeItem?.albumTitle)")
      print("albumTitle \(album.representativeItem?.valueForProperty(MPMediaItemPropertyAlbumTitle))")
  }
  </code></pre>
  
  <p>This handles the TableView Index stuff:</p>
  
  <pre><code>  // create index title
      func sectionIndexTitlesForTableView(tableView: UITableView) -&gt; [String]? {
          let sectionIndexTitles = myQuery.itemSections!.map { $0.title }
          return sectionIndexTitles
      }
  
      func tableView(tableView: UITableView, sectionForSectionIndexTitle title: String, atIndex index: Int) -&gt; Int {
          return index
      }
  
      // tableview
      func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -&gt; String? {
          return (myQuery.itemSections![section].title)
      }
  
      func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
          // print("number of sections \(myQuery.itemSections?.count)")
          return (myQuery.itemSections?.count)!
      }
  </code></pre>
  
  <p>I'm at a loss to determine how to print out the Album titles for each section (where a section is "A", "B", etc) like:</p>
  
  <p>A<br>
    Abbey Road<br>
    Achtung Baby<br>
    All The Young Dudes<br>
  B<br>
    Baby The Stars Shine Bright<br>
  C<br>
    Cosmic Thing  </p>
  
  <p>etc.....</p>