-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable backwards compatibility when compiling with Xcode 14
This will still mean that the bug addressed in #314 will persist, but will allow consumers bound to older Xcode versions to continue to update the rest of the codebase and its dependencies
- Loading branch information
1 parent
64aecb2
commit 9f89df4
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Sources/Runestone/Library/UITextSelectionDisplayInteraction+Helpers.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import UIKit | ||
|
||
#if compiler(>=5.9) | ||
|
||
@available(iOS 17, *) | ||
extension UITextSelectionDisplayInteraction { | ||
func sbs_enableCursorBlinks() { | ||
setValue(true, forKey: "rosruc".reversed() + "Blinks") | ||
} | ||
} | ||
|
||
#endif |