title: Working with FBSDKGraphRequest on iOS SDK for Facebook with SWIFT
body: <p>I am quite new to the iOS Facebook SDK and swift and have a litte Problem.</p>
  
  <p>I want to get Profile-Information from Facebook Users as Name, birthday, and music.</p>
  
  <p>I tried following for Name and Birthday, but have no idea how to iterate through the NSDictionary. Finally i want to save all Artists/Bands Names in the String Variable named allMusic</p>
  
  <pre><code>let graphRequest : FBSDKGraphRequest = FBSDKGraphRequest(graphPath: "me?fields=id,name,email,bio,birthday,hometown,gender,music,events", parameters: nil)
  graphRequest.startWithCompletionHandler({ (connection, result, error) -&gt; Void in
  
  if ((error) != nil)
  {
  // Process error
  print("Error: \(error)")
  }
  else
  {
  let userName : NSString = result.valueForKey("name") as! NSString
  let userEmail : NSString = result.valueForKey("email") as! NSString
  let bday : NSString = result.valueForKey("birthday") as! NSString
  let bio : NSString = result.valueForKey("bio") as! NSString
  let id : NSString = result.valueForKey("id") as! NSString
  let music: NSDictionary = result.valueForKey("music") as! NSDictionary
      var allMusic: String = ""
      for val in music {
          print(val.valueForKey("data"))
           //        allMusic += "----Value---"
      }
  }
  })
  </code></pre>
  
  <p>and this comes on the command line if i print(music)</p>
  
  <pre><code>{
  data =     (
              {
          "created_time" = "2015-07-19T12:17:26+0000";
          id = 345946458834143;
          name = Wanda;
      },
              {
          "created_time" = "2015-06-23T01:20:04+0000";
          id = 119490691442848;
          name = Knorkator;
      }... and so on
              {
          "created_time" = "2013-02-11T19:13:08+0000";
          id = 8811047260;
          name = "Infected Mushroom";
      }
  );
  paging =     {
      cursors =         {
          after = ODgxMTA0NzI2MAZDZD;
          before = MzQ1OTQ2NDU4ODM0MTQz;
      };
      next = "some url...";
  };
  }
  </code></pre>