12

In main project, I have a class named: Result.

And I import a third framework through Cocoapods which is also named Result. The Result framework has a class named Result.

In project, how can I use the Result class in Result framework?

leizh00701
  • 1,893
  • 5
  • 21
  • 32

1 Answers1

23

You need to put the package name in front of the class name.

ThirdPartyFrameworkName.Result

and

YourTargetName.Result
Max Pevsner
  • 4,098
  • 2
  • 18
  • 32