-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Bridge RCTSurfacePresenterStub category implementation to .m file (
#23888) Summary: Move implementation out from header file. Because it may have potential linker issue. CC. sahrens <img width="716" alt="image" src="https://user-images.githubusercontent.com/5061845/54267283-ea11ac00-45b3-11e9-8d0e-9ff20db98b01.png"> [iOS] [Fixed] - Move Bridge RCTSurfacePresenterStub category implementation to .m file Pull Request resolved: #23888 Differential Revision: D14477611 Pulled By: cpojer fbshipit-source-id: 660f3c27806252fc8f47430582818d37d42fd365
- Loading branch information
1 parent
1fe4799
commit af7efff
Showing
3 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
#import "RCTSurfacePresenterStub.h" | ||
|
||
@implementation RCTBridge (RCTSurfacePresenterStub) | ||
|
||
- (id<RCTSurfacePresenterStub>)surfacePresenter | ||
{ | ||
return objc_getAssociatedObject(self, @selector(surfacePresenter)); | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters