From d43d093bf7ffcfa2e8323f612cd6c5bf43bd60ef Mon Sep 17 00:00:00 2001 From: Nick Hudkins Date: Mon, 11 May 2015 19:06:15 -0400 Subject: [PATCH] Update README.md with valid code example. Custom iOS View code sample was missing RCT_EXPORT_MODULE() --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 684795417..68eaa6948 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,8 @@ Custom iOS views can be exposed by subclassing `RCTViewManager`, implementing a @implementation MyCustomViewManager +RCT_EXPORT_MODULE(); + - (UIView *)view { return [[MyCustomView alloc] init];