Moses Gunesch
1 min readMay 11, 2017

--

Hey Sharath, very nice tutorial – thank you!

I wanted to offer a correction for your obj-c bridge. You don’t call init on new (you do alloc/init or just new), and you don’t want that extra view variable. So just,

@implementation RCTGameManagerRCT_EXPORT_MODULE()- (UIView *)view{  return [GameView new];}@end

Thanks again!

--

--

Moses Gunesch
Moses Gunesch

Written by Moses Gunesch

Just another software engineering dad in Portland, Oregon

Responses (1)