Reputation: 1963
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?
Upvotes: 12
Views: 4674
Reputation: 4104
You need to put the package name in front of the class name.
ThirdPartyFrameworkName.Result
and
YourTargetName.Result
Upvotes: 23