I'm attempting to add an external library written in Swift to my Objective-C project. The library is here:
https://github.com/Ramotion/animated-tab-bar
I followed their instructions by adding the RAMAnimatedTabBarController
to my project, then modifying my `Tab Bar controller , Tab Bar items to utilize the custom class in the storyboard.
It keeps crashing with unknown class messages in the logs, so even though autocomplete on the custom class worked, it clearly can't see/compile the project files:
2015-05-01 14:59:26.309 <project>[xxxx:xxxxx] Unknown class RAMAnimatedTabBarItem in Interface Builder file.
2015-05-01 14:59:26.350 <project>[xxxx:xxxxx] Unknown class RAMAnimatedTabBarController in Interface Builder file.
2015-05-01 14:59:26.353 <project>[xxxx:xxxxx] Unknown class RAMBounceAnimation in Interface Builder file.
I've read a bunch of stuff about including swift header files in order to interchange using objc and swift in your projects, but they mention importing into your ViewController
classes (of which I don't have since TabBar and NavController are only in the storyboard).
How to access both Objective-C and Swift classes from same storyboard?
Still pretty new with storyboards and I feel like I'm missing a critical piece here. Help!
I managed to get it working...
Also make sure :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With