Skip to content

Commit

Permalink
move UIAlertController define to RCTAlertController.h
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee committed Dec 9, 2020
1 parent 6b0fedd commit a64e1f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions React/Base/RCTUIKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ UIKIT_STATIC_INLINE CGFloat UIFontLineHeight(UIFont *font)
// UIInterface.h/NSUserInterfaceLayout.h
#define UIUserInterfaceLayoutDirection NSUserInterfaceLayoutDirection

// UIAlertController.h/NSViewController.h
#define UIAlertController NSViewController

//
// semantically equivalent enums
//
Expand Down
2 changes: 2 additions & 0 deletions React/CoreModules/RCTAlertController.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

#import <React/RCTUIKit.h> // TODO(macOS ISS#2323203)

#define UIAlertController NSViewController // TODO(macOS ISS#2323203)

@interface RCTAlertController : UIAlertController

#if !TARGET_OS_OSX // [TODO(macOS ISS#2323203)
Expand Down

0 comments on commit a64e1f7

Please sign in to comment.