Skip to content

Commit

Permalink
map -> object
Browse files Browse the repository at this point in the history
Summary: Closes facebook#8450

Differential Revision: D3488018

fbshipit-source-id: a30269c89e87b546f77da7a32b1c4c65d978459d
  • Loading branch information
sunnylqm authored and Morgan Pretty committed Aug 24, 2016
1 parent af596ce commit ebefcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/NativeModulesIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The CalendarManager module is instantiated on the Objective-C side using a [Cale
- number (`NSInteger`, `float`, `double`, `CGFloat`, `NSNumber`)
- boolean (`BOOL`, `NSNumber`)
- array (`NSArray`) of any types from this list
- map (`NSDictionary`) with string keys and values of any type from this list
- object (`NSDictionary`) with string keys and values of any type from this list
- function (`RCTResponseSenderBlock`)

But it also works with any type that is supported by the `RCTConvert` class (see [`RCTConvert`](https://github.com/facebook/react-native/blob/master/React/Base/RCTConvert.h) for details). The `RCTConvert` helper functions all accept a JSON value as input and map it to a native Objective-C type or class.
Expand Down

0 comments on commit ebefcc3

Please sign in to comment.