Skip to content

Commit 4175376

Browse files
committed
Removed unused makeContainer method
1 parent 534d52e commit 4175376

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Simplenote/SPTextView.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,6 @@ extension SPTextView {
3131

3232
return container
3333
}
34-
35-
private func makeContainer() -> NSTextContainer {
36-
var container: NSTextContainer
37-
if #available(iOS 17.0, *) {
38-
let fallbackContainer = SPFallbackTextContainer(size: .zero)
39-
40-
// This value is set incase we need to fall back to text kit 1
41-
//
42-
fallbackContainer.textView = self
43-
44-
container = fallbackContainer
45-
} else {
46-
container = NSTextContainer()
47-
}
48-
49-
return container
50-
}
5134
}
5235

5336
// MARK: NSTextContentStorageDelegate

0 commit comments

Comments
 (0)