mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 05:15:49 +08:00
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: https://github.com/facebook/react-native/pull/23888 Differential Revision: D14477611 Pulled By: cpojer fbshipit-source-id: 660f3c27806252fc8f47430582818d37d42fd365
18 lines
408 B
Objective-C
18 lines
408 B
Objective-C
/**
|
|
* 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
|