react-native/docs
Arian Stolwijk a02c238464 Fix code example: NSNumber should be marked `nonnull` for compatibility with Android
Summary:
I was following the Native Modules guide for iOS, when I noticed this error in the example code:

> Argument 2 (NSNumber) of CalendarManager.addEvent has unspecified nullability but React requires that all NSNumber arguments are explicitly marked as `nonnull` to ensure compatibility with Android.

Marking the parameter NSNumber type as `nonnull` fixes the error in the example.
Closes https://github.com/facebook/react-native/pull/9705

Differential Revision: D3804661

Pulled By: JoelMarcey

fbshipit-source-id: 92ec8a08ff2a179e4a8935de4cecd7b8d993469b
2016-09-01 08:43:48 -07:00
..
Accessibility.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
AndroidBuildingFromSource.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
AndroidUIPerformance.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Animations.md Update example link to new link. 2016-08-08 10:28:27 -07:00
Colors.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
CommunicationIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Debugging.md Minor doc improvements in Debugging.md 2016-08-09 11:13:30 -07:00
DirectManipulation.md Fix link broken. 2016-07-14 15:58:36 -07:00
GestureResponderSystem.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
GettingStarted.md A fix for npmlog error 2016-07-24 18:43:27 -07:00
HandlingTextInput.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
HandlingTouches.md Fix broken links in Handling Touches documentation 2016-07-21 14:58:31 -07:00
HeightAndWidth.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Images.md Strip down asset data 2016-08-08 18:28:49 -07:00
IntegrationWithExistingApps.md Updated integration with existing apps for Android 2016-08-30 03:44:16 -07:00
IssueGuidelines.md Add instruction on how to have access to the bot in IssueGuidelines.md 2016-05-05 08:46:54 -07:00
JavaScriptEnvironment.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
LayoutWithFlexbox.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
LinkingLibraries.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
MoreResources.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
MoviesExample.json Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
NativeComponentsAndroid.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
NativeComponentsIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
NativeModulesAndroid.md update doc for android MainApplication.java 2016-07-19 04:43:25 -07:00
NativeModulesIOS.md Fix code example: NSNumber should be marked `nonnull` for compatibility with Android 2016-09-01 08:43:48 -07:00
Navigation.md fix broken link 2016-07-26 21:43:46 -07:00
Networking.md Missing function tags 2016-08-18 11:58:39 -07:00
Performance.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
PixelRatio.md Move around the docs a bit 2015-03-25 11:52:29 -07:00
PlatformSpecificInformation.md Update PlatformSpecificInformation.md 2016-08-08 04:58:30 -07:00
Props.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
PullRequestGuidelines.md move templates to .github folder 2016-06-13 07:43:28 -07:00
RunningOnDeviceAndroid.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
RunningOnDeviceIOS.md Edit Docs Making Offline iOS Bundle 2016-08-07 09:28:38 -07:00
RunningOnSimulatorIOS.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
SignedAPKAndroid.md docs(android): install release for android 2016-08-04 22:13:29 -07:00
State.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Style.md Small typo s/they/the/ 2016-07-15 13:58:39 -07:00
Testing.md Update test guide to refer to the Jest React-Native tutorial 2016-07-27 03:43:32 -07:00
Text.md Show an example of composition in the Text docs. 2016-08-18 22:13:38 -07:00
Timers.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Troubleshooting.md Update docs to use correct import statement 2016-08-15 15:58:40 -07:00
Tutorial.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
Upgrading.md Update Upgrading.md 2016-08-05 13:43:35 -07:00
UsingAListView.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
UsingAScrollView.md Make prev links work in guides and APIs. 2016-07-13 14:58:27 -07:00
UsingNavigators.md Missing braces 2016-08-30 09:43:55 -07:00