From cdebbca6aa12307158a51f1f03b898dbe1505065 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:07:29 -0500 Subject: [PATCH] tvOS version guard --- Sources/Neon/PlatformTextSystem.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Neon/PlatformTextSystem.swift b/Sources/Neon/PlatformTextSystem.swift index 5af16f4..b1ef4c2 100644 --- a/Sources/Neon/PlatformTextSystem.swift +++ b/Sources/Neon/PlatformTextSystem.swift @@ -59,7 +59,7 @@ extension NSTextContainer { extension TextView { var tk2VisibleTextRange: NSRange? { guard - #available(macOS 12.0, iOS 16.0, tvOS 15.0, *), + #available(macOS 12.0, iOS 16.0, tvOS 16.0, *), let textLayoutManager, let viewportRange = textLayoutManager.textViewportLayoutController.viewportRange, let textContentManager = textLayoutManager.textContentManager