Cannot find type 'CardsViewController' in scope
Ehsan-Home opened this issue ยท 2 comments
Ehsan-Home commented
Hello everyone. First of all, thank you for your amazing library. Super useful so far ๐
I have a problem loading this library into my Xcode project.
This is my podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target 'Test-Cocopod' do
pod 'CardParts'
end
After running pod install, I get the following result in my terminal:
Finally, I add the following code to my ViewController:
However, I get the following error:
How can I solve this issue?
Sorry if my question is kind of obvious since I'm just the beginner at Swift.
Appreciated ๐
bharathmurs commented
Hi @Ehsan-Home,
I see you are missing import CardParts
. That shall help you fix the issue.
Ehsan-Home commented
Got you.
Thank you.