Skip to content

Commit

Permalink
Move files to honor the namespaces in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Jun 14, 2024
1 parent 117393e commit 0d49b11
Show file tree
Hide file tree
Showing 37 changed files with 23 additions and 28 deletions.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion Sources/RichTextKit/RichTextKit.docc/RichTextKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ RichTextKit is available under the MIT license.
These are the top-level types you should start looking at.

- ``RichTextEditor``
- ``RichTextView``
- ``RichTextContext``
- ``RichTextView``
- ``RichTextViewer``

### Foundation

Expand Down
21 changes: 21 additions & 0 deletions Sources/RichTextKit/RichTextViewRepresentable.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//
// RichTextViewRepresentable.swift
// RichTextKit
//
// Created by Daniel Saidi on 2024-03-04.
// Copyright © 2024 Daniel Saidi. All rights reserved.
//

#if macOS
import AppKit

/// This typealias bridges UIKit & AppKit native text views.
public typealias RichTextViewRepresentable = NSTextView
#endif

#if iOS || os(tvOS) || os(visionOS)
import UIKit

/// This typealias bridges UIKit & AppKit native text views.
public typealias RichTextViewRepresentable = UITextView
#endif
File renamed without changes.
27 changes: 0 additions & 27 deletions Sources/RichTextKit/TextView/TextViewRepresentable.swift

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0d49b11

Please sign in to comment.