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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -