From ab997ebddefedb13190c3aae2ce177bec520b50c Mon Sep 17 00:00:00 2001 From: cclv Date: Thu, 2 Apr 2015 22:50:42 +0800 Subject: [PATCH] missing #import "RCTConvert.h" --- docs/NativeModulesIOS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/NativeModulesIOS.md b/docs/NativeModulesIOS.md index 41b8055b6..386d883d2 100644 --- a/docs/NativeModulesIOS.md +++ b/docs/NativeModulesIOS.md @@ -78,6 +78,8 @@ In our `CalendarManager` example, if we want to pass event date to native, we ha As `CalendarManager.addEvent` method gets more and more complex, the number of arguments will grow. Some of them might be optional. In this case it's worth considering changing the API a little bit to accept a dictionary of event attributes, like this: ```objective-c +#import "RCTConvert.h" + - (void)addEventWithName:(NSString *)name details:(NSDictionary *)details { RCT_EXPORT(addEvent);