You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Targeted compile fixes uncovered while bringing up RNTester-macOS against
the merged 0.85-stable tree:
- RCTUtils.h: drop duplicate RCTUIStatusBarManager decl; close
outstanding #if !TARGET_OS_OSX around RCTPresentedViewController +
nested !TARGET_OS_TV around RCTUIStatusBarManager.
- RCTUIManager.mm: wrap namedOrientationDidChange in
#if TARGET_OS_IOS (uses UIDevice.orientation); switch new-arch stub
@implementation block to RCTPlatformView/RCTUIView typedefs to match
the macOS-fork header signatures.
- RCTFrameTimingsObserver.mm: new 0.85 file using UIKit/CADisplayLink.
Wrap iOS impl in #if !TARGET_OS_OSX and add macOS no-op stub
@implementation so the @interface in the .h has a definition.
- RCTBackedTextInputDelegateAdapter.mm: remove two leftover #endif
directives left over from the merge (no matching #if).
- RCTActivityIndicatorView.m: move the macOS RCTActivityIndicatorView
category extension inside #ifndef RCT_REMOVE_LEGACY_ARCH so the base
@interface (declared only in the legacy block) is visible.
- RCTView.m: guard accessibilityElementsHidden behind !TARGET_OS_OSX
(NSView has no such property) and guard [RCTTextView class] dispatch
behind #ifndef RCT_REMOVE_LEGACY_ARCH (RCTTextView is legacy-only).
- RCTImageUtils.mm: wrap UIImageOrientationFromCGImagePropertyOrientation
helper + the in-function UIImageOrientation usage in #if !TARGET_OS_OSX
(NSImage path doesn't use UIImageOrientation).
- RCTRedBox+Internal.h: replace #import <UIKit/UIKit.h> with the fork's
cross-platform <React/RCTUIKit.h> umbrella.
- RCTLogBoxView.mm: guard macOS layoutIfNeeded's [_surface setSize:...]
behind #ifndef RCT_REMOVE_LEGACY_ARCH (_surface only exists in legacy
block).
0 commit comments