Skip to content

Commit 794db24

Browse files
Guard for OSes
1 parent e6c4bcc commit 794db24

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/TextFormation/MutableStringPartialSystem.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Foundation
22

3+
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
34
/// Implements a large portion of the TextSystem protocol for NSMutableAttributedString-compatible backing stores.
45
@available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
56
public struct MutableStringPartialSystem {
@@ -65,3 +66,4 @@ extension MutableStringPartialSystem {
6566
return MutationOutput<NSRange>(selection: newSelection, delta: delta)
6667
}
6768
}
69+
#endif

0 commit comments

Comments
 (0)