Open bharathreddy-97 opened 7 years ago
#import "ZSSRichTextEditor.h"
Adding above line is enough for having it in swift.
If you using cocoapod, the line will be
#import "ZSSRichTextEditor/ZSSRichTextEditor.h"
After testing, I found that framework from cocoapod is different from sample's framework. It miss a lot of functions. So manually using ZSSRichTextEditor is a better choice.
manually using ZSSRichTextEditor in swift steps:
1.Copy the Source
folder to your project.
2.add the line #import "ZSSRichTextEditor.h"
in your bridging header
3.configure Build Phases like following screenshot:
How can i use this in swift? which headers should i add to bridging header?