Skip to content

Instantly share code, notes, and snippets.

@jemise111
Last active January 20, 2016 19:44
Show Gist options
  • Save jemise111/5c7c5ed4e8824397242a to your computer and use it in GitHub Desktop.
Save jemise111/5c7c5ed4e8824397242a to your computer and use it in GitHub Desktop.
- (IBAction)reactViewObjCPressed:(id)sender {
ReactNativeObjCViewController *reactNativeVC = [self.storyboard instantiateViewControllerWithIdentifier:@"ReactNativeObjCVC"];
reactNativeVC.route = @"routeNameObjectiveCView";
[self.navigationController pushViewController:reactNativeVC animated:YES];
}
- (IBAction)reactViewSwiftPressed:(id)sender {
ReactNativeSwiftViewController *reactNativeVC = [self.storyboard instantiateViewControllerWithIdentifier:@"ReactNativeSwiftVC"];
reactNativeVC.route = @"routeNameSwiftView";
[self.navigationController pushViewController:reactNativeVC animated:YES];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment