diff --git a/README.md b/README.md index 6465a78dc..6be9bedd7 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ RichTextKit is a Swift SDK that lets you edit rich text in `Swift` & `SwiftUI` w The `RichTextEditor` supports text styles (bold, italic, underline, etc.), fonts, font sizes, colors, text alignments, image attachments, and much more. It's powered by a `RichTextView` that bridges `UITextView` & `NSTextView` and adds additional, platform-agnostic APIs that make the two views behave more alike. -If you just want to view rich text connte, you can use the `RichTextViewer` SwiftUI view, which wraps the editor and applies a read-only configuration to it. +If you just want to view rich text content, you can use the `RichTextViewer` SwiftUI view, which wraps the editor and applies a read-only configuration to it. diff --git a/Sources/RichTextKit/TextView/RichTextView_AppKit.swift b/Sources/RichTextKit/TextView/RichTextView_AppKit.swift index 06cd5a053..939579e9a 100644 --- a/Sources/RichTextKit/TextView/RichTextView_AppKit.swift +++ b/Sources/RichTextKit/TextView/RichTextView_AppKit.swift @@ -13,7 +13,7 @@ import AppKit This is a platform-agnostic rich text view that can be used in both UIKit and AppKit. - The view inherits `NSTextField` in AppKit and `UITextField` + The view inherits `NSTextView` in AppKit and `UITextView` in UIKit. It aims to make these views behave more alike and make them implement ``RichTextViewComponent``, which is the protocol that is used within this library. diff --git a/Sources/RichTextKit/TextView/RichTextView_UIKit.swift b/Sources/RichTextKit/TextView/RichTextView_UIKit.swift index dd4dd8ddf..5c5d3bf98 100644 --- a/Sources/RichTextKit/TextView/RichTextView_UIKit.swift +++ b/Sources/RichTextKit/TextView/RichTextView_UIKit.swift @@ -19,7 +19,7 @@ extension RichTextView: UIDropInteractionDelegate {} This is a platform-agnostic rich text view that can be used in both UIKit and AppKit. - The view inherits `NSTextField` in AppKit and `UITextField` + The view inherits `NSTextView` in AppKit and `UITextView` in UIKit. It aims to make these views behave more alike and make them implement ``RichTextViewComponent``, which is the protocol that is used within this library.