Convert alloc/init to new to please linter

This commit is contained in:
Nick Lockwood
2015-08-17 07:35:34 -07:00
parent 869ff92dbc
commit 8d1e02b8bd
74 changed files with 172 additions and 172 deletions

View File

@@ -25,12 +25,12 @@ RCT_EXPORT_MODULE()
- (UIView *)view
{
return [[RCTText alloc] init];
return [RCTText new];
}
- (RCTShadowView *)shadowView
{
return [[RCTShadowText alloc] init];
return [RCTShadowText new];
}
#pragma mark - Shadow properties