2019-10-16 20:03:47 +03:00
|
|
|
/*
|
2019-03-15 21:13:41 +03:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2019-08-08 17:13:22 +03:00
|
|
|
#import "RCTSurfacePresenterStub.h"
|
2019-03-15 21:13:41 +03:00
|
|
|
|
2019-08-08 17:13:22 +03:00
|
|
|
@implementation RCTBridge (RCTSurfacePresenterStub)
|
2019-03-15 21:13:41 +03:00
|
|
|
|
2019-08-08 17:13:22 +03:00
|
|
|
- (id<RCTSurfacePresenterStub>)surfacePresenter
|
2019-03-15 21:13:41 +03:00
|
|
|
{
|
|
|
|
return objc_getAssociatedObject(self, @selector(surfacePresenter));
|
|
|
|
}
|
|
|
|
|
2019-08-08 17:13:22 +03:00
|
|
|
- (void)setSurfacePresenter:(id<RCTSurfacePresenterStub>)surfacePresenter
|
2019-08-01 02:37:57 +03:00
|
|
|
{
|
|
|
|
objc_setAssociatedObject(self, @selector(surfacePresenter), surfacePresenter, OBJC_ASSOCIATION_ASSIGN);
|
|
|
|
}
|
|
|
|
|
2019-03-15 21:13:41 +03:00
|
|
|
@end
|