here is the issue I'm getting. Any help is much appreciated.
Here's the code:
var addressBook: ABAddressBookRef = {
var error: Unmanaged<CFError>?
return ABAddressBookCreateWithOptions(nil,
&error).takeRetainedValue() as ABAddressBookRef
}()
var source = ABAddressBookCopyDefaultSource(addressBook)!
var allPeople = ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering(addressBook, source: source, sortOrdering: kABPersonSortByFirstName)
Error message: Cannot convert the expression's type '(ABAddressBookRef, source: @lvalue Unmanaged, sortOrdering: Int)' to type '$T4'