Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cpp/RNScreensTurboModule.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

// Needed on Paper only to hide the files from Swift build process
#if defined(__cplusplus)

Expand Down
2 changes: 2 additions & 0 deletions ios/RCTConvert+RNScreens.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#if !RCT_NEW_ARCH_ENABLED

#import <React/RCTConvert.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/RCTImageComponentView+RNSScreenStackHeaderConfig.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED

#include <React/RCTImageComponentView.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSBarButtonItem.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTImageLoader.h>
#import <UIKit/UIKit.h>

Expand Down
2 changes: 2 additions & 0 deletions ios/RNSConvert.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>
#ifdef RCT_NEW_ARCH_ENABLED
#import <react/renderer/components/rnscreens/Props.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSEnums.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

typedef NS_ENUM(NSInteger, RNSScreenStackPresentation) {
RNSScreenStackPresentationPush,
RNSScreenStackPresentationModal,
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSFullWindowOverlay.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTViewManager.h>

#ifdef RCT_NEW_ARCH_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSInvalidatedComponentsRegistry.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED

#import <UIKit/UIKit.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSModalScreen.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSScreen.h"

@interface RNSModalScreen : RNSScreenView
Expand Down
1 change: 1 addition & 0 deletions ios/RNSModule.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED
#import <rnscreens/rnscreens.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSOrientationProviding.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSEnums.h"

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSPercentDrivenInteractiveTransition.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>
#import "RNSScreenStackAnimator.h"

Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreen.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTComponent.h>
#import <React/RCTViewManager.h>

Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreenContainer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
#else
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreenContentWrapper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTViewManager.h>
#import <UIKit/UIKit.h>
#import "RNSDefines.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreenFooter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTViewManager.h>
#import <UIKit/UIKit.h>

Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreenNavigationContainer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTViewManager.h>

#import "RNSScreenContainer.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreenStack.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
#else
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreenStackHeaderConfig.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
#else
Expand Down
1 change: 1 addition & 0 deletions ios/RNSScreenStackHeaderSubview.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScreenWindowTraits.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSScreen.h"

@interface RNSScreenWindowTraits : NSObject
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSScrollViewBehaviorOverriding.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSSearchBar.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

#ifdef RCT_NEW_ARCH_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSViewControllerInvalidating.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED

#include <react/renderer/mounting/ShadowViewMutation.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/RNSViewControllerInvalidator.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef RCT_NEW_ARCH_ENABLED

#import <UIKit/UIKit.h>
Expand Down
2 changes: 2 additions & 0 deletions ios/UIScrollView+RNScreens.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/UIViewController+RNScreens.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/UIWindow+RNScreens.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/RCTConvert+RNSBottomTabs.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTConvert.h>
#import <UIKit/UIKit.h>

Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/RNSBottomTabsSpecialEffectsSupporting.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/RNSTabBarAppearanceCoordinator.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <Foundation/Foundation.h>
#import "RNSBottomTabsHostComponentView.h"
#import "RNSTabsScreenViewController.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/accessory/RNSBottomAccessoryHelper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <RNSDefines.h>

#if RNS_BOTTOM_ACCESSORY_AVAILABLE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSBottomTabsAccessoryEventEmitter.h"
#import "RNSBottomTabsHostComponentView.h"
#import "RNSReactBaseView.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSDefines.h"
#import "RNSEnums.h"
#import "RNSReactBaseView.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <RNSDefines.h>

#if RNS_BOTTOM_ACCESSORY_AVAILABLE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSBottomAccessoryHelper.h"

#if RNS_BOTTOM_ACCESSORY_AVAILABLE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSBottomTabsHostComponentView.h"

#if defined(__cplusplus) && RCT_NEW_ARCH_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/host/RNSBottomTabsHostComponentView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSBottomTabsHostComponentViewManager.h"
#import "RNSBottomTabsHostEventEmitter.h"
#import "RNSDefines.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/host/RNSBottomTabsHostEventEmitter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <Foundation/Foundation.h>

// Hide C++ symbols from C compiler used when building Swift module
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/host/RNSTabBarController.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>
#import "RNSTabBarAppearanceCoordinator.h"
#import "RNSTabsScreenViewController.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/host/RNSTabBarControllerDelegate.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/screen/RNSBottomTabsScreenComponentView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTImageSource.h>
#import "RNSBottomTabsScreenEventEmitter.h"
#import "RNSEnums.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTViewManager.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/screen/RNSBottomTabsScreenEventEmitter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <Foundation/Foundation.h>

// Hide C++ symbols from C compiler used when building Swift module
Expand Down
2 changes: 2 additions & 0 deletions ios/bottom-tabs/screen/RNSTabsScreenViewController.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>
#import "RNSBottomTabsScreenComponentView.h"
#import "RNSBottomTabsSpecialEffectsSupporting.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/bridging/RNSReactBaseView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

// Hide C++ symbols from C compiler used when building Swift module
#if defined(__cplusplus)

Expand Down
2 changes: 2 additions & 0 deletions ios/events/RNSHeaderHeightChangeEvent.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTEventDispatcherProtocol.h>

@interface RNSHeaderHeightChangeEvent : NSObject <RCTEvent>
Expand Down
2 changes: 2 additions & 0 deletions ios/events/RNSScreenViewEvent.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTEventDispatcherProtocol.h>

@interface RNSScreenViewEvent : NSObject <RCTEvent>
Expand Down
2 changes: 2 additions & 0 deletions ios/gamma/split-view/RNSSplitViewHostComponentEventEmitter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <Foundation/Foundation.h>

// Hide C++ symbols from C compiler used when building Swift module
Expand Down
2 changes: 2 additions & 0 deletions ios/gamma/split-view/RNSSplitViewHostComponentView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSDefines.h"
#import "RNSEnums.h"
#import "RNSReactBaseView.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <Foundation/Foundation.h>

// Hide C++ symbols from C compiler used when building Swift module
Expand Down
2 changes: 2 additions & 0 deletions ios/gamma/split-view/RNSSplitViewScreenComponentView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSEnums.h"
#import "RNSReactBaseView.h"
#import "RNSSafeAreaProviding.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/gamma/split-view/RNSSplitViewScreenShadowStateProxy.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <Foundation/Foundation.h>

#if defined(__cplusplus)
Expand Down
2 changes: 2 additions & 0 deletions ios/gamma/stack/RNSScreenStackHostComponentView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSReactBaseView.h"
#import "RNSStackScreenComponentView.h"

Expand Down
2 changes: 2 additions & 0 deletions ios/gamma/stack/RNSStackScreenComponentEventEmitter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <Foundation/Foundation.h>

// Hide C++ symbols from C compiler used when building Swift module
Expand Down
2 changes: 2 additions & 0 deletions ios/gamma/stack/RNSStackScreenComponentView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSReactBaseView.h"
#import "RNSStackScreenComponentEventEmitter.h"

Expand Down
2 changes: 2 additions & 0 deletions ios/helpers/image/RNSImageLoadingHelper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <React/RCTImageLoader.h>
#import <React/RCTImageSource.h>

Expand Down
2 changes: 2 additions & 0 deletions ios/helpers/scroll-view/RNSContentScrollViewProviding.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

@protocol RNSContentScrollViewProviding

/**
Expand Down
2 changes: 2 additions & 0 deletions ios/helpers/scroll-view/RNSScrollEdgeEffectApplicator.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import "RNSEnums.h"

@protocol RNSScrollEdgeEffectProviding
Expand Down
2 changes: 2 additions & 0 deletions ios/helpers/scroll-view/RNSScrollViewFinder.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>
#import "RNSContentScrollViewProviding.h"

Expand Down
2 changes: 2 additions & 0 deletions ios/helpers/scroll-view/RNSScrollViewHelper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

@interface RNSScrollViewHelper : NSObject
Expand Down
2 changes: 2 additions & 0 deletions ios/integrations/RNSDismissibleModalProtocol.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

NS_ASSUME_NONNULL_BEGIN

@protocol RNSDismissibleModalProtocol <NSObject>
Expand Down
2 changes: 2 additions & 0 deletions ios/safe-area/RNSSafeAreaProviding.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#import <UIKit/UIKit.h>

/**
Expand Down
2 changes: 2 additions & 0 deletions ios/safe-area/RNSSafeAreaViewComponentView.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

// Implementation adapted from `react-native-safe-area-context`:
// https://github.com/AppAndFlow/react-native-safe-area-context/tree/v5.6.1

Expand Down
2 changes: 2 additions & 0 deletions ios/safe-area/paper/RNSSafeAreaViewEdges.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

// Implementation adapted from `react-native-safe-area-context`:
// https://github.com/AppAndFlow/react-native-safe-area-context/tree/v5.6.1

Expand Down
2 changes: 2 additions & 0 deletions ios/safe-area/paper/RNSSafeAreaViewLocalData.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

// Implementation adapted from `react-native-safe-area-context`:
// https://github.com/AppAndFlow/react-native-safe-area-context/tree/v5.6.1

Expand Down
2 changes: 2 additions & 0 deletions ios/safe-area/paper/RNSSafeAreaViewManager.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

// Implementation adapted from `react-native-safe-area-context`:
// https://github.com/AppAndFlow/react-native-safe-area-context/tree/v5.6.1

Expand Down
Loading
Loading