user594883 user594883 - 1 year ago 84
Swift Question

Pinterest SDK: "PDKClient not found", what's wrong?

I'm trying to implement Pinterest SDK into my Swift project. I've followed this install guide:

I just can't get this line working:


It keeps on resulting to
Use of unresolved identifier PDKClient

What should I do?

Answer Source

You need to import the PinterestSDK in the class (I guess AppDelegate, right?).

So, at the top of AppDelegate, add

import PinterestSDK

Then it should find the PDKClient object.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download