xcode - Swift: Accessing OS X address book: "ABPerson is not convertible to ABPerson" -
i accessing os x address book so:
if let book = abaddressbook.sharedaddressbook() { let people = book.people() [abperson] person in people { // want person's image variable abpersoncopyimagedata(person) // compile error } }
xcode says 'abperson' not convertible 'abperson'.
what's wrong that?
thanks in advance, kim
Comments
Post a Comment