Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
FancyNativeModule.m for React Native project based on Swift
#import "FancyNativeModule.h"
@interface FancyNativeModule()
@implementation FancyNativeModule
RCT_EXPORT_METHOD(saySomething:(nonnull NSString *)message) {
NSLog(@"%@", message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment