Add implementation for methods that add nodes at a given indexPath or set of indexPaths

This commit is contained in:
Gregory John Casamento 2024-07-12 06:22:56 -04:00
parent bbbe9d00b4
commit 90b3913a1f
3 changed files with 59 additions and 29 deletions

View file

@ -57,6 +57,7 @@
return [children count];
}
// This is here so that when the path is specified as "children" it responds
- (NSMutableArray *) children
{
NSDictionary *ro = [self representedObject];
@ -75,5 +76,16 @@
forKey: @"value"];
}
// These return the value in the cases where the parent class method is called...
- (NSArray *) childNodes
{
return [self children];
}
- (NSArray *) mutableChildNodes
{
return [self children];
}
@end