Skip to content

LocalAuthenticationEmbeddedUI macOS xcode14.0 rc

Israel Soto edited this page Sep 7, 2022 · 1 revision

#LocalAuthenticationEmbeddedUI.framework

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h	2022-08-05 12:40:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h	2022-08-03 21:05:34.000000000 -0500
@@ -5,10 +5,10 @@
 //  Copyright © 2021 Apple. All rights reserved.
 //
 
-#import <AppKit/AppKit.h>
 #import <Foundation/Foundation.h>
-
-@class LAContext;
+#import <AppKit/NSView.h>
+#import <AppKit/NSCell.h>
+#import <LocalAuthentication/LAContext.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h	2022-08-03 22:56:36.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h	1969-12-31 18:00:00.000000000 -0600
@@ -1,16 +0,0 @@
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
-#import <UIKit/UIKit.h>
-
-/// @brief Container used for authorization UI.
-typedef UIWindow *LAPresentationContext;
-#else
-#import <AppKit/AppKit.h>
-
-/// @brief Container used for authorization UI.
-typedef NSWindow *LAPresentationContext;
-#endif // TARGET_OS_OSX
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h	2022-08-05 12:40:17.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h	1969-12-31 18:00:00.000000000 -0600
@@ -1,26 +0,0 @@
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <LocalAuthentication/LocalAuthentication.h>
-#import <LocalAuthenticationEmbeddedUI/LAPresentationContext.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/// @brief Groups methods that control aspects of the UI used for authorizing a right
-API_AVAILABLE(macos(13.0), ios(16.0)) API_UNAVAILABLE(watchos, tvos)
-@interface LARight (UI)
-
-/// @brief Tries to authorize the right.
-/// @param localizedReason Localized explanation for the authorization. Appears in the UI presented to the user.
-/// @param presentationContext Container where the authorization UI will be presented.
-/// @param handler Completion handler called after the authorization finishses. Returns an error when the authorization fails.
-- (void)authorizeWithLocalizedReason:(NSString *)localizedReason
-               inPresentationContext:(LAPresentationContext)presentationContext
-                          completion:(void (^)(NSError *_Nullable))handler
-NS_SWIFT_NAME(authorize(localizedReason:in:completion:));
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h	2022-08-03 22:56:36.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h	2022-02-12 06:47:56.000000000 -0600
@@ -3,5 +3,3 @@
 //
 
 #import <LocalAuthenticationEmbeddedUI/LAAuthenticationView.h>
-#import <LocalAuthenticationEmbeddedUI/LAPresentationContext.h>
-#import <LocalAuthenticationEmbeddedUI/LARight+UI.h>
Clone this wiki locally