From e5b389e44cb69ea7082f35ff80cd2f498fdef3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramiro=20Gonz=C3=A1lez=20Maciel?= Date: Fri, 1 Jul 2016 06:22:25 -0700 Subject: [PATCH] FIX CGMakeRect is really CGRectMake Summary: There's a typo, CGMakeRect is really CGRectMake https://developer.apple.com/reference/coregraphics/1455245-cgrectmake Closes https://github.com/facebook/react-native/pull/8524 Differential Revision: D3508996 Pulled By: bestander fbshipit-source-id: 67270ba52b97bbf4e2a5afd97cfb04647e5aad62 --- docs/CommunicationIOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CommunicationIOS.md b/docs/CommunicationIOS.md index 1e1115605..48cc5d978 100644 --- a/docs/CommunicationIOS.md +++ b/docs/CommunicationIOS.md @@ -144,7 +144,7 @@ For instance, to make an RN app 200 (logical) pixels high, and the hosting view' RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:appName initialProperties:props]; - rootView.frame = CGMakeRect(0, 0, self.view.width, 200); + rootView.frame = CGRectMake(0, 0, self.view.width, 200); [self.view addSubview:rootView]; } ```