first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#pragma once
#import <UIKit/UIKit.h>
/**
* @protocol RNSSafeAreaProviding
* @brief Allows containers that obscure some part of its subviews to provide safe area.
*/
@protocol RNSSafeAreaProviding
/**
@brief Responsible for providing current safe area insets.
In most cases, this method should return `self.safeAreaInsets` unless it's necessary to modify the insets.
@returns `UIEdgeInsets` describing the safe area.
*/
- (UIEdgeInsets)providerSafeAreaInsets;
/**
@brief Responsible for notifying about a change in safe area.
This method should be called in `UIView`'s `safeAreaInsetsDidChange`.
Implementation of this method should use `NSNotificationCenter` to post notification with `RNSSafeAreaDidChange` name
defined in `RNSSafeAreaViewNotifications.h`.
*/
- (void)dispatchSafeAreaDidChangeNotification;
@end