Problem adding files #40
Comments
Hi ad-moh, you don't need to add files manually anymore. Are you using CocoaPods? If so, add this to your Podfile: use_frameworks!
pod 'ChameleonFramework/Swift' If you aren't, remember you need to add both the Swift and Objective-C folders to your project. |
No, I'm not using CocoaPods. You mean the folder named pod or the whole project folder? |
The folder named Pod. If you are still getting an error, post the message if you can. |
I'll give it a try later and let you know. |
Alright. Thank you |
Nevermind, the issue is because swift isn't loading the objc classes. You need to add the imports to your Bridging header. So edit your bridging header and add the following: #import "Chameleon.h" |
Oh yeah, it didn't create a bridging header when i added. I guess I have to do that manually |
It worked. You guys have a really cool library here. Thanks for everything |
Awesome! |
I'm having problems adding the files to my swift project. I keep getting errors in the short hand class. Can you please explaining a little bit more on how to integrate it?
Thank you
The text was updated successfully, but these errors were encountered: