intuit / CardParts

A reactive, card-based UI framework built on UIKit for iOS developers.
Other
2.52k stars 224 forks source link

Cannot find type 'CardsViewController' in scope #267

Closed Ehsan-Home closed 4 years ago

Ehsan-Home commented 4 years ago

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 😃

bharathmurs commented 4 years ago

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

Ehsan-Home commented 4 years ago

Got you.

Thank you.