Skip to content

Commit

Permalink
Removed unused makeContainer method
Browse files Browse the repository at this point in the history
  • Loading branch information
charliescheer committed Dec 26, 2024
1 parent 534d52e commit 4175376
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Simplenote/SPTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4175376

Please sign in to comment.