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
This commit is contained in:
Ramiro González Maciel 2016-07-01 06:22:25 -07:00 committed by Facebook Github Bot 3
parent 6a1324e8f6
commit e5b389e44c
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}
```