Rob Hogan 8729d27206 Document subclassing RCTEventEmitter
Summary:
Sending global events with `eventDispatcher` has been [deprecated](d9737571c4) since 0.28, with a recommendation to subclass `RCTEventEmitter` instead, but there were no docs for this.

This updates the iOS native module to use the recommended way, and also documents the use of `stopObserving` and `startObserving`.

Tested and working in a real app.

cc nicklockwood
Closes https://github.com/facebook/react-native/pull/11792

Differential Revision: D4394626

fbshipit-source-id: 68b26d35944a521bf683a50ec1ab21f03b5e99d8
2017-01-09 14:43:50 -08:00
..
2016-07-14 15:58:36 -07:00
2016-10-19 16:29:00 -07:00
2016-07-26 21:43:46 -07:00
2016-11-28 03:28:37 -08:00
2015-03-25 11:52:29 -07:00
2017-01-06 15:43:29 -08:00
2016-12-13 17:13:35 -08:00
2017-01-06 08:28:25 -08:00
2016-11-22 10:13:31 -08:00