Skip to content

Instantly share code, notes, and snippets.

@jemise111
Created January 6, 2016 19:33
Show Gist options
  • Save jemise111/1258f65383a3d08d2938 to your computer and use it in GitHub Desktop.
Save jemise111/1258f65383a3d08d2938 to your computer and use it in GitHub Desktop.
//
// ReactNativeObjCViewController.m
//
#import "ReactNativeObjCViewController.h"
#import "ReactNativeViewObjC.h"
@interface ReactNativeObjCViewController ()
@property (weak, nonatomic) IBOutlet ReactNativeViewObjC *reactViewWrapper;
@end
@implementation ReactNativeObjCViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.title = @"React Wrapper (Obj C)";
self.reactViewWrapper.data = [@{
@"content": @"Welcome to React Native"
} mutableCopy];
[self.reactViewWrapper initializeReactView];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment