From 834fed55c04bab1e3894070b9b5939700284e4c8 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Thu, 4 Apr 2024 16:56:57 -0400 Subject: [PATCH] make use of the auto-import of NSUI --- Projects/NeonExample.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/swiftpm/Package.resolved | 2 +- Projects/NeonExample/TextViewController.swift | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Projects/NeonExample.xcodeproj/project.pbxproj b/Projects/NeonExample.xcodeproj/project.pbxproj index 88fd07d..5de9fe9 100644 --- a/Projects/NeonExample.xcodeproj/project.pbxproj +++ b/Projects/NeonExample.xcodeproj/project.pbxproj @@ -331,7 +331,7 @@ repositoryURL = "https://github.com/mattmassicotte/nsui.git"; requirement = { kind = revision; - revision = d000e76f5587a1b7843717872b2f4a2318b0efbf; + revision = d7c7aedb5b6b69cc5561f25c5bb02214cd6101b5; }; }; /* End XCRemoteSwiftPackageReference section */ diff --git a/Projects/NeonExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Projects/NeonExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 402aab8..34ae22d 100644 --- a/Projects/NeonExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Projects/NeonExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -5,7 +5,7 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/mattmassicotte/nsui.git", "state" : { - "revision" : "d000e76f5587a1b7843717872b2f4a2318b0efbf" + "revision" : "d7c7aedb5b6b69cc5561f25c5bb02214cd6101b5" } }, { diff --git a/Projects/NeonExample/TextViewController.swift b/Projects/NeonExample/TextViewController.swift index a4541d0..02469d0 100644 --- a/Projects/NeonExample/TextViewController.swift +++ b/Projects/NeonExample/TextViewController.swift @@ -1,9 +1,3 @@ -#if canImport(AppKit) && !targetEnvironment(macCatalyst) -import AppKit -#elseif canImport(UIKit) -import UIKit -#endif - import TreeSitterMarkdown import TreeSitterMarkdownInline import TreeSitterSwift