I have an existing project written in Objective-C. I want to use the Daniel Gindi iOS Charts library , which is located in Swift, in this project. How can I achieve this?
importing the quick structure into the objective-c project is related, but in my case I use the library, installing it through Cocoapods , as indicated here .
In this question, at least he can import the title, but in my case I cannot.
Step 1: Create an objective-c project for a single view.
Step 2: Create a subfile and add the following lines -
use_frameworks! pod 'Charts'
Step 3: Install the pod
Step 4: try importing charts into ViewController.h using @import Charts , but an error occurs. Error - Module Charts not found
objective-c swift ios-frameworks ios-charts ios-library
Rohan sanap
source share