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

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -