mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 17:12:24 +00:00
Add implementation for methods that add nodes at a given indexPath or set of indexPaths
This commit is contained in:
parent
bbbe9d00b4
commit
90b3913a1f
3 changed files with 59 additions and 29 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue