diff --git a/docs/NativeModulesIOS.md b/docs/NativeModulesIOS.md index 824ef74c1..e36b3a13f 100644 --- a/docs/NativeModulesIOS.md +++ b/docs/NativeModulesIOS.md @@ -383,7 +383,8 @@ Let's say we have the same `CalendarManager` but as a Swift class: @objc(CalendarManager) class CalendarManager: NSObject { - @objc func addEvent(name: String, location: String, date: NSNumber) -> Void { + @objc(addEvent:location:date:) + func addEvent(name: String, location: String, date: NSNumber) -> Void { // Date is ready to use! }