-
Notifications
You must be signed in to change notification settings - Fork 543
Accessibility iOS xcode26.0 b1
Alex Soto edited this page Jun 9, 2025
·
1 revision
#Accessibility.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleTranslator.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleTranslator.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleTranslator.h 1969-12-31 19:00:00
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleTranslator.h 2025-05-29 02:00:18
@@ -0,0 +1,89 @@
+//
+// AXBrailleTranslator.h
+// Accessibility
+//
+// Copyright © 2025 Apple. All rights reserved.
+//
+
+#import <Accessibility/AXFoundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A rule for translating print text to Braille, and back-translating Braille to print text.
+AX_EXTERN API_AVAILABLE(ios(26.0), macos(26.0), tvos(26.0), watchos(26.0), visionos(26.0))
+@interface AXBrailleTable: NSObject <NSCopying, NSCoding>
+
+/// A unique string that identifies this table.
+@property (nonatomic, readonly) NSString *identifier;
+
+/// The localized name of this table for user display.
+@property (nonatomic, readonly) NSString *localizedName;
+
+/// The identifier of the provider of this table.
+@property (nonatomic, readonly) NSString *providerIdentifier;
+
+/// The localized name of the provider of this table for user display.
+@property (nonatomic, readonly) NSString *localizedProviderName;
+
+/// The 3-character code from ISO 639-2 for the language this Braille table pertains to.
+@property (nonatomic, readonly) NSString *language NS_REFINED_FOR_SWIFT;
+
+/// All locales this table supports.
+@property (nonatomic, readonly) NSSet<NSLocale *> *locales;
+
+/// Returns true if this table makes use of eight dots as opposed to six dots.
+@property (nonatomic, readonly) BOOL isEightDot;
+
+/// All locales supported by existing tables.
++ (NSSet<NSLocale *> *)supportedLocales;
+
+/// The default table that provides translations for the given locale's language. Returns nil if there is none.
++ (nullable AXBrailleTable *)defaultTableForLocale:(NSLocale *)locale;
+
+/// All tables that provide translations for the given locale's language.
++ (NSSet<AXBrailleTable *> *)tablesForLocale:(NSLocale *)locale;
+
+/// All tables that are not specific to any language.
++ (NSSet<AXBrailleTable *> *)languageAgnosticTables;
+
+/// Returns nil if there is no table with the given identifier.
+- (nullable instancetype)initWithIdentifier:(NSString *)identifier;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+@end
+
+/// The result of translation or back-translation.
+AX_EXTERN API_AVAILABLE(ios(26.0), macos(26.0), tvos(26.0), watchos(26.0), visionos(26.0))
+@interface AXBrailleTranslationResult : NSObject <NSCopying, NSCoding>
+
+/// The resulting string after translation or back-translation.
+@property (nonatomic, readonly) NSString *resultString;
+
+/// An array of integers that has the same length as the resultString.
+/// locationMap[i]-th character in the input string corresponds to resultString[i].
+@property (nonatomic, readonly) NSArray<NSNumber *> *locationMap NS_REFINED_FOR_SWIFT;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+/// Translates print text to Braille and Braille to print text according to the given Braille table.
+AX_EXTERN API_AVAILABLE(ios(26.0), macos(26.0), tvos(26.0), watchos(26.0), visionos(26.0))
+@interface AXBrailleTranslator : NSObject
+
+- (instancetype)initWithBrailleTable:(AXBrailleTable *)brailleTable;
+
+/// Output Braille uses the unicode Braille characters (0x2800-0x28FF).
+- (AXBrailleTranslationResult *)translatePrintText:(NSString *)printText;
+
+/// Input Braille should use the unicode Braille characters (0x2800-0x28FF).
+- (AXBrailleTranslationResult *)backTranslateBraille:(NSString *)braille;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h 2025-04-19 04:51:01
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h 2025-05-29 02:00:18
@@ -37,7 +37,10 @@
// Jump to the setting for "Allow Apps to Request to Use" in Personal Voice. This is relevant for the AVSpeechSynthesis.personalVoiceAuthorizationStatus API.
AXSettingsFeaturePersonalVoiceAllowAppsToRequestToUse = 1,
// Jump to the setting for "Allow Apps to Add Audio to Calls." This is relevant for the AVAudioSession.preferredMicrophoneInjectionMode API.
- AXSettingsFeatureAllowAppsToAddAudioToCalls API_AVAILABLE(ios(18.2), macos(15.2), tvos(18.2), watchos(11.2), visionos(2.2))
+ AXSettingsFeatureAllowAppsToAddAudioToCalls API_AVAILABLE(ios(18.2), macos(15.2), tvos(18.2), watchos(11.2), visionos(2.2)),
+ AXSettingsFeatureAssistiveTouch API_AVAILABLE(ios(26.0), macos(26.0), tvos(26.0), watchos(26.0), visionos(26.0)),
+ AXSettingsFeatureAssistiveTouchDevices API_AVAILABLE(ios(26.0), macos(26.0), tvos(26.0), watchos(26.0), visionos(26.0)),
+ AXSettingsFeatureDwellControl API_AVAILABLE(ios(26.0), macos(26.0), tvos(26.0), watchos(26.0), visionos(26.0))
} NS_SWIFT_NAME(AccessibilitySettings.Feature) API_AVAILABLE(ios(18.0), macos(15.0), tvos(18.0), watchos(11.0), visionos(2.0));
// Open the Settings app to a specific section.
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h 2025-04-19 04:51:00
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h 2025-05-29 02:00:17
@@ -16,3 +16,4 @@
#import <Accessibility/AXTechnology.h>
#import <Accessibility/AXMathExpression.h>
#import <Accessibility/AXFeatureOverrideSessionManager.h>
+#import <Accessibility/AXBrailleTranslator.h>