Skip to content

alexmanning14/RichTextEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

RichTextEditor

A rich text editor for SwiftUI (iOS)

Preview

image

Example implementation

struct DemoView: View {

    @State private var attributedText = NSAttributedString(string: "")
    @State private var selectedRange = NSRange(location: 0, length: 0)

    var body: some View {
        RichTextEditor(attributedText: $attributedText, selectedRange: $selectedRange)
    }
}

About

A rich text editor for SwiftUI (iOS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages