Created
April 14, 2018 15:35
-
-
Save GaborWnuk/38126da4f31625251e8eafc843c4b638 to your computer and use it in GitHub Desktop.
FancyNativeModule.m for React Native project based on Swift
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
#import "FancyNativeModule.h" | |
@interface FancyNativeModule() | |
@end | |
@implementation FancyNativeModule | |
RCT_EXPORT_MODULE() | |
RCT_EXPORT_METHOD(saySomething:(nonnull NSString *)message) { | |
NSLog(@"%@", message); | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment