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:
committed by
Facebook Github Bot
parent
dde68356eb
commit
a0e0b434ee
@@ -33,11 +33,8 @@
|
||||
}
|
||||
|
||||
- (NSUInteger)childCountForNode:(CKComponentRootView *)node {
|
||||
if ([node respondsToSelector:@selector(ck_attachState)]) {
|
||||
const auto state = [node ck_attachState];
|
||||
return state == nil ? 0 : 1;
|
||||
}
|
||||
return 0;
|
||||
const auto state = CKGetAttachStateForView(node);
|
||||
return state == nil ? 0 : 1;
|
||||
}
|
||||
|
||||
- (id)childForNode:(CKComponentRootView *)node atIndex:(NSUInteger)index {
|
||||
|
||||
Reference in New Issue
Block a user