intuit/CardParts

Cannot find type 'CardsViewController' in scope

Closed this issue ยท 2 comments

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:

Screen Shot 2020-11-14 at 9 11 27 PM

Finally, I add the following code to my ViewController:

Screen Shot 2020-11-14 at 9 12 21 PM

However, I get the following error:

Screen Shot 2020-11-14 at 9 13 07 PM

How can I solve this issue?

Sorry if my question is kind of obvious since I'm just the beginner at Swift.

Appreciated ๐Ÿ˜ƒ

Hi @Ehsan-Home,
I see you are missing import CardParts. That shall help you fix the issue.

Got you.

Thank you.