title: How to extract name from a contact in iOS?
body: <p>I have picked up a contact from the address book </p>
  
  <p>Now I need to display the name to the text view UI in the same view controller. </p>
  
  <p>How to extract the name from the ABRecord? </p>
  
  <p>This is my code.</p>
  
  <pre><code>@IBAction func addContact(sender: AnyObject) {
      var peoplePicker = ABPeoplePickerNavigationController()
      peoplePicker.peoplePickerDelegate = self
      self.presentViewController(peoplePicker, animated: true, completion: nil)
  
  }
  
  func peoplePickerNavigationControllerDidCancel(peoplePicker: ABPeoplePickerNavigationController!) {
      dismissViewControllerAnimated(true, completion: nil)
  }
  
  
  func peoplePickerNavigationController(peoplePicker: ABPeoplePickerNavigationController!, didSelectPerson person: ABRecord!) {
  
      var name : String! = ABRecordCopyCompositeName(person)
  }
  </code></pre>
  
  <p>Here the function ABRecordCopyCompositeName return unmanaged I can't force cast to String. It says not convertible.</p>
  
  <p>I'm new to iOS dev. please help.</p>