How to use this in Swift
How can i use this in swift? which headers should i add to bridging header?
#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:

here is the implementation in swift link, u can use Coordinator to use it in swiftUI