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,12 +33,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (NSUInteger)childCountForNode:(CKComponentRootView *)node {
|
- (NSUInteger)childCountForNode:(CKComponentRootView *)node {
|
||||||
if ([node respondsToSelector:@selector(ck_attachState)]) {
|
const auto state = CKGetAttachStateForView(node);
|
||||||
const auto state = [node ck_attachState];
|
|
||||||
return state == nil ? 0 : 1;
|
return state == nil ? 0 : 1;
|
||||||
}
|
}
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (id)childForNode:(CKComponentRootView *)node atIndex:(NSUInteger)index {
|
- (id)childForNode:(CKComponentRootView *)node atIndex:(NSUInteger)index {
|
||||||
return [SKComponentLayoutWrapper newFromRoot:node];
|
return [SKComponentLayoutWrapper newFromRoot:node];
|
||||||
|
|||||||
Reference in New Issue
Block a user