mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
0f3d24c7fb
Summary: As of Swift 3, [Swift converts Objective-C API names based on parameters](https://github.com/apple/swift-evolution/blob/master/proposals/0005-objective-c-name-translation.md), so the docs should explicitly declare what the Objective-C API is (because it's also used in the JavaScript side too). An alternative to this would be to update the Objective-C and JavaScript calls to be `addEventWithName:location:date:` / `addEventWithName()` based on the default Swift API, but I think the approach in the PR is most correct here. Closes https://github.com/facebook/react-native/pull/10176 Differential Revision: D4001604 Pulled By: hramos fbshipit-source-id: cd4143d19d2d375288a086b9d7995e75fe1e9170