-
Notifications
You must be signed in to change notification settings - Fork 516
LocalAuthenticationEmbeddedUI macOS xcode13.0 beta3
Rachel Kang edited this page Aug 24, 2021
·
3 revisions
#LocalAuthenticationEmbeddedUI.framework https://github.com/xamarin/xamarin-macios/pull/12535
diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h 2021-06-17 14:32:39.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h 2021-07-10 09:46:19.000000000 -0400
@@ -7,11 +7,12 @@
#import <Foundation/Foundation.h>
#import <AppKit/NSView.h>
+#import <AppKit/NSCell.h>
#import <LocalAuthentication/LAContext.h>
NS_ASSUME_NONNULL_BEGIN
-/// @brief Compact authentication view providing authentication similar to LAContext
+/// @brief Compact authentication view providing authentication similar to @c LAContext
/// evaluatePolicy API.
/// @discussion This view is non-textual, it displays only a compact icon hinting
/// users to use Touch ID or Watch to authenticate. The reason for the
@@ -28,13 +29,27 @@
/// context. When 'evaluatePolicy' or 'evaluateAccessControl' is called on this
/// context, the UI will be presented using this view rather than using the standard
/// authentication alert.
-/// @param context 'LAContext' instance to control the authentication.
+/// @param context @c LAContext instance to control the authentication.
- (instancetype)initWithContext:(LAContext *)context
API_AVAILABLE(macos(12.0)) API_UNAVAILABLE(ios, watchos, tvos);
-/// @brief 'LAContext' instance passed to the initializer.
+/// @brief Creates a new view and pairs it with the specified authentication context.
+/// @discussion The authentication is controlled using the provided authentication
+/// context. When 'evaluatePolicy' or 'evaluateAccessControl' is called on this
+/// context, the UI will be presented using this view rather than using the standard
+/// authentication alert.
+/// @param context @c LAContext instance to control the authentication.
+/// @param controlSize Preferred size of @c LAAuthenticationView provided using @c NSControlSize
+- (instancetype)initWithContext:(LAContext *)context controlSize:(NSControlSize)controlSize
+API_AVAILABLE(macos(12.0)) API_UNAVAILABLE(ios, watchos, tvos);
+
+/// @brief @c LAContext instance passed to the initializer.
@property (nonatomic, readonly) LAContext *context
API_AVAILABLE(macos(12.0)) API_UNAVAILABLE(ios, watchos, tvos);
+/// @brief @c NSControlSize instance passed to the initializer.
+@property (nonatomic, readonly) NSControlSize controlSize
+API_AVAILABLE(macos(12.0)) API_UNAVAILABLE(ios, watchos, tvos);
+
@end
NS_ASSUME_NONNULL_END
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status