From 41753760cd2792e7f37ccd89088fa96229cfcc0f Mon Sep 17 00:00:00 2001 From: Charlie Scheer Date: Thu, 26 Dec 2024 10:50:38 -1000 Subject: [PATCH] Removed unused makeContainer method --- Simplenote/SPTextView.swift | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Simplenote/SPTextView.swift b/Simplenote/SPTextView.swift index 854c68f04..ee3bdb9d9 100644 --- a/Simplenote/SPTextView.swift +++ b/Simplenote/SPTextView.swift @@ -31,23 +31,6 @@ extension SPTextView { return container } - - private func makeContainer() -> NSTextContainer { - var container: NSTextContainer - if #available(iOS 17.0, *) { - let fallbackContainer = SPFallbackTextContainer(size: .zero) - - // This value is set incase we need to fall back to text kit 1 - // - fallbackContainer.textView = self - - container = fallbackContainer - } else { - container = NSTextContainer() - } - - return container - } } // MARK: NSTextContentStorageDelegate