Created
August 18, 2020 15:56
-
-
Save tj-devel709/b8a5d150cc387fcb8e07c58c954532e0 to your computer and use it in GitHub Desktop.
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
**************************************** | |
************** Xcode ******************* | |
**************************************** | |
extension AEAssessmentConfiguration { | |
@available(iOS 14.0, *) | |
public struct AutocorrectMode : OptionSet { | |
public init(rawValue: UInt) | |
public static var spelling: AEAssessmentConfiguration.AutocorrectMode { get } | |
public static var punctuation: AEAssessmentConfiguration.AutocorrectMode { get } | |
} | |
} | |
**************************************** | |
************** Sharpie ***************** | |
**************************************** | |
+API_AVAILABLE(ios(14.0)) | |
+API_UNAVAILABLE(macos, macCatalyst) | |
+typedef NS_OPTIONS(NSUInteger, AEAutocorrectMode) { | |
+ AEAutocorrectModeNone = 0, | |
+ AEAutocorrectModeSpelling = 1 << 0, | |
+ AEAutocorrectModePunctuation = 1 << 1, | |
+} NS_SWIFT_NAME(AEAssessmentConfiguration.AutocorrectMode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment