From 7aa9f21dac04ddbcf1cdc12874bf7af21d45ac47 Mon Sep 17 00:00:00 2001 From: Mike Griepentrog Date: Thu, 23 Feb 2017 16:28:14 -0800 Subject: [PATCH] Fix broken link Summary: > Explain the **motivation** for making this change. What existing problem does the pull request solve? I was reading the documentation and noticed this broken link. Closes https://github.com/facebook/react-native/pull/12535 Differential Revision: D4608413 Pulled By: hramos fbshipit-source-id: 5d3edfaf4e5c16f42a50e203b979b90afe101954 --- docs/CommunicationIOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CommunicationIOS.md b/docs/CommunicationIOS.md index 9dc2e5b39..b0770a0dd 100644 --- a/docs/CommunicationIOS.md +++ b/docs/CommunicationIOS.md @@ -211,7 +211,7 @@ Let's look at an example. In the example we have a `FlexibleSizeExampleView` view that holds a root view. We create the root view, initialize it and set the delegate. The delegate will handle size updates. Then, we set the root view's size flexibility to `RCTRootViewSizeFlexibilityHeight`, which means that `rootViewDidChangeIntrinsicSize:` method will be called every time the React Native content changes its height. Finally, we set the root view's width and position. Note that we set there height as well, but it has no effect as we made the height RN-dependent. -You can checkout full source code of the example [here](https://phabricator.fb.com/diffusion/FBOBJC/browse/master/Libraries/FBReactKit/js/react-native-github/Examples/UIExplorer/UIExplorer/NativeExampleViews/FlexibleSizeExampleView.m). +You can checkout full source code of the example [here](https://github.com/facebook/react-native/blob/master/Examples/UIExplorer/UIExplorer/NativeExampleViews/FlexibleSizeExampleView.m). It's fine to change root view's size flexibility mode dynamically. Changing flexibility mode of a root view will schedule a layout recalculation and the delegate `rootViewDidChangeIntrinsicSize:` method will be called once the content size is known.