Reputation: 138
when I try to import MBCalendarKit in my project, it shows no such module error and linker command error. I tried all the solution given in stackoverflow under this topic and no success. help me. Thanks in advance.
Upvotes: 0
Views: 204
Reputation: 1946
I've just imported into a test project, and using the latest version of Xcode (7.2.1) it's slightly different than the installation instructions.
Assuming you're using pods, install the pod and make sure to open the .xcworkspace file.
Next add a bridging header to the project, and import the main calendar kit file, like so
#import <MBCalendarKit/CalendarKit.h>
Inside your UIViewController
subclass, import MBCalendarKit
like so:
import MBCalendarKit
Celebrate!
Upvotes: 0