Skip to content

Instantly share code, notes, and snippets.

View tj-devel709's full-sized avatar

TJ Lambert tj-devel709

  • Microsoft Co.
  • St. Louis
View GitHub Profile
****************************************
************** Xcode *******************
****************************************
extension AEAssessmentConfiguration {
@available(iOS 14.0, *)
public struct AutocorrectMode : OptionSet {
public init(rawValue: UInt)
************************************
****** Introspection Errors ********
************************************
[FAIL] Could not find the field 'AEAutocorrectModeNone' in /System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/AutomaticAssessmentConfiguration
[FAIL] Could not find the field 'AEAutocorrectModeSpelling' in /System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/AutomaticAssessmentConfiguration
[FAIL] Could not find the field 'AEAutocorrectModePunctuation' in /System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/AutomaticAssessmentConfiguration
[FAIL] iOSApiFieldTest.ApiFieldTest.FieldExists :  3 errors found in 6282 fields validated: AEAutocorrectModeNone, AEAutocorrectModeSpelling, AEAutocorrectModePunctuation
Tests run: 45 Passed: 44 Inconclusive: 0 Failed: 1 Ignored: 0
~~~~~~~~Objective C~~~~~~~~~~~~
// Make the receiver the active drawing appearance and perform the block.
// Saves and restores the previous current appearance.
- (void)performAsCurrentDrawingAppearance:(void (NS_NOESCAPE ^)(void))block API_AVAILABLE(macos(11.0));
~~~~~~~~C# Binding (outside of interface)~~~~~~~~~~~~
delegate void ChangeReceiver (null);
~~~~~~~~C# Binding (later, inside the interface)~~~~~~~~~~~~
[Mac (11,0)]
diff --git a/src/CoreText/CTFontDescriptor.cs b/src/CoreText/CTFontDescriptor.cs
index 0ff3a79af..8e531dc95 100644
--- a/src/CoreText/CTFontDescriptor.cs
+++ b/src/CoreText/CTFontDescriptor.cs
@@ -87,54 +87,54 @@ namespace CoreText {
#if !NET
public static class CTFontDescriptorAttributeKey {
- public static readonly NSString Url;
- public static readonly NSString Name;