Removed UIView (CKComponentAttachController)

Summary: Remove ObjC categories so we can strip dead code

Reviewed By: kfirapps

Differential Revision: D14665041

fbshipit-source-id: 243dee61a5b7cfd854191bfb5fa3a570b4ac1a4b
This commit is contained in:
Andrey Mishanin
2019-03-28 09:20:26 -07:00
committed by Facebook Github Bot
parent dde68356eb
commit a0e0b434ee

View File

@@ -33,11 +33,8 @@
}
- (NSUInteger)childCountForNode:(CKComponentRootView *)node {
if ([node respondsToSelector:@selector(ck_attachState)]) {
const auto state = [node ck_attachState];
const auto state = CKGetAttachStateForView(node);
return state == nil ? 0 : 1;
}
return 0;
}
- (id)childForNode:(CKComponentRootView *)node atIndex:(NSUInteger)index {