fix:pod validation error
This commit is contained in:
parent
c7de1f90e2
commit
73efa3b424
@ -27,6 +27,7 @@
|
|||||||
#import <DoricCore/DoricContext.h>
|
#import <DoricCore/DoricContext.h>
|
||||||
#import <DoricCore/DoricGroupNode.h>
|
#import <DoricCore/DoricGroupNode.h>
|
||||||
#import <DoricCore/DoricRootNode.h>
|
#import <DoricCore/DoricRootNode.h>
|
||||||
|
#import <DoricCore/DoricSuperNode.h>
|
||||||
|
|
||||||
@interface DoricShowNodeTreeViewController () <RATreeViewDelegate, RATreeViewDataSource>
|
@interface DoricShowNodeTreeViewController () <RATreeViewDelegate, RATreeViewDataSource>
|
||||||
@property(nonatomic, weak) DoricContext *doricContext;
|
@property(nonatomic, weak) DoricContext *doricContext;
|
||||||
@ -53,7 +54,7 @@ - (void)viewDidLoad {
|
|||||||
|
|
||||||
- (nonnull UITableViewCell *)treeView:(nonnull RATreeView *)treeView cellForItem:(nullable id)item {
|
- (nonnull UITableViewCell *)treeView:(nonnull RATreeView *)treeView cellForItem:(nullable id)item {
|
||||||
DoricShowNodeTreeViewCell *cell = [treeView dequeueReusableCellWithIdentifier:@"cell"];
|
DoricShowNodeTreeViewCell *cell = [treeView dequeueReusableCellWithIdentifier:@"cell"];
|
||||||
DoricViewNode *viewNode = (DoricViewNode *)item;
|
DoricViewNode *viewNode = (DoricViewNode *) item;
|
||||||
|
|
||||||
NSString *type = viewNode.type;
|
NSString *type = viewNode.type;
|
||||||
if ([item isKindOfClass:[DoricRootNode class]]) {
|
if ([item isKindOfClass:[DoricRootNode class]]) {
|
||||||
@ -70,7 +71,7 @@ - (nonnull UITableViewCell *)treeView:(nonnull RATreeView *)treeView cellForItem
|
|||||||
} else if ([item isKindOfClass:[DoricSuperNode class]]) {
|
} else if ([item isKindOfClass:[DoricSuperNode class]]) {
|
||||||
DoricSuperNode *superNode = item;
|
DoricSuperNode *superNode = item;
|
||||||
NSArray *viewIds = [superNode getSubNodeViewIds];
|
NSArray *viewIds = [superNode getSubNodeViewIds];
|
||||||
NSString *childDesc = [[@"(" stringByAppendingString:[@(viewIds.count)stringValue]] stringByAppendingString:@" Child)"];
|
NSString *childDesc = [[@"(" stringByAppendingString:[@(viewIds.count) stringValue]] stringByAppendingString:@" Child)"];
|
||||||
value = [value stringByAppendingString:childDesc];
|
value = [value stringByAppendingString:childDesc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user