🍦 SwiftServe Get

Menu / ui.rich-text

Can Swift packages do rich text editing?

also known as: text editor · attributed string editing · wysiwyg

PackageiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
richtextkit as of 1.2
Details

serves it · confidence 0.90 · as of 1.2

  • RichTextContext
    Sources/RichTextKit/_Essential/RichTextContext.swift:22
    View the line on GitHub →
    Observable editing context that drives the rich text editor; unguarded, resolves present on iOS.
  • RichTextViewComponent
    Sources/RichTextKit/Bridging/RichTextViewComponent.swift:26
    View the line on GitHub →
    Shared protocol for all RichTextView editor implementations; unguarded, present on iOS.
  • RichTextEditor
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextEditor.swift:55
    View the line on GitHub →
    Core SwiftUI editor. 'iOS' is a custom compilation condition defined in Package.swift via .define("iOS", .when(platforms: [.iOS, .macCatalyst])), so this guard is active on iOS; the extractor cannot resolve the custom flag and leaves it conditional. Manifest floor .iOS(.v15); README shows the demo app running on iOS.

serves it · confidence 0.90 · as of 1.2

  • RichTextContext
    Sources/RichTextKit/_Essential/RichTextContext.swift:22
    View the line on GitHub →
    Observable editing context that drives the rich text editor; unguarded, resolves present on macOS.
  • RichTextView
    #if macOS
    Sources/RichTextKit/Bridging/RichTextView_AppKit.swift:22
    View the line on GitHub →
    NSTextView-based editor view. 'macOS' is a custom compilation condition defined in Package.swift via .define("macOS", .when(platforms: [.macOS])), so this guard is active on macOS; the extractor leaves it conditional.
  • RichTextEditor
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextEditor.swift:55
    View the line on GitHub →
    Core SwiftUI editor; guard active on macOS via the custom 'macOS' flag. Manifest floor .macOS(.v12); README shows the demo app running on macOS.
?

not verified yet · confidence 0.35 · as of 1.2

  • RichTextEditor
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextEditor.swift:55
    View the line on GitHub →
    The core editor guard omits watchOS (with 'iOS'/'macOS' defined only for iOS/macCatalyst/macOS in Package.swift), so the editor view is compiled out on watchOS. The digest resolves this as conditional, not absent, so absence cannot be proven.
  • RichTextView
    #if iOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/Bridging/RichTextView_UIKit.swift:28
    View the line on GitHub →
    Neither the UIKit nor the AppKit variant of the bridged text view has a watchOS branch. Manifest declares .watchOS(.v8), and unguarded model-layer types (RichTextContext, RichTextStyle) resolve present, but the editing UI itself appears unavailable on watchOS.

serves it · confidence 0.90 · as of 1.2

  • RichTextEditor
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextEditor.swift:55
    View the line on GitHub →
    Guard resolves present on tvOS via os(tvOS). Manifest floor .tvOS(.v15).
  • RichTextView
    #if iOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/Bridging/RichTextView_UIKit.swift:28
    View the line on GitHub →
    UITextView-based editor view; guard resolves present on tvOS.
  • RichTextContext
    Sources/RichTextKit/_Essential/RichTextContext.swift:22
    View the line on GitHub →
    Unguarded editing context; present on tvOS.

serves it · confidence 0.90 · as of 1.2

  • RichTextEditor
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextEditor.swift:55
    View the line on GitHub →
    Guard resolves present on visionOS via os(visionOS). Manifest floor .visionOS(.v1).
  • RichTextViewer
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextViewer.swift:14
    View the line on GitHub →
    Read-only rich text viewer; guard resolves present on visionOS.
  • RichTextContext
    Sources/RichTextKit/_Essential/RichTextContext.swift:22
    View the line on GitHub →
    Unguarded editing context; present on visionOS.
?

not verified yet · confidence 0.20 · as of 1.2

  • RichTextEditor
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextEditor.swift:55
    View the line on GitHub →
    The core editor guard omits linux, and the package is built on SwiftUI/UIKit/AppKit, none of which exist on linux. Unguarded model-layer decls resolve present only because the extractor does not model import availability; SwiftPM manifests cannot exclude linux, so absence cannot be proven.

serves it · confidence 0.75 · as of 1.2

  • RichTextContext
    Sources/RichTextKit/_Essential/RichTextContext.swift:22
    View the line on GitHub →
    Unguarded editing context; resolves present on macCatalyst.
  • FontRepresentable
    #if canImport(UIKit)
    Sources/RichTextKit/Fonts/FontRepresentable.swift:13
    View the line on GitHub →
    UIKit branch resolves present on macCatalyst in the digest (absent only on macOS/watchOS/linux).
  • RichTextEditor
    #if iOS || macOS || os(tvOS) || os(visionOS)
    Sources/RichTextKit/_Essential/RichTextEditor.swift:55
    View the line on GitHub →
    Package.swift defines the 'iOS' compilation condition for platforms [.iOS, .macCatalyst], so the core editor guard is active on macCatalyst; the extractor leaves it conditional. Confidence lowered because the manifest declares no explicit macCatalyst floor and the editor anchor stays conditional in the digest.

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it