Fix compilation issue

This commit is contained in:
Gregory John Casamento 2024-07-28 21:05:22 -04:00
parent ad75804102
commit 8935a2d2da
2 changed files with 3 additions and 1 deletions

View file

@ -38,7 +38,7 @@
{
NSMutableDictionary *dict =
[NSMutableDictionary dictionaryWithObject:
[NSMutableArray arrayWithArray: children]
[NSMutableArray arrayWithArray: content]
forKey: @"children"];
self = [super initWithRepresentedObject: dict];

View file

@ -332,6 +332,8 @@
lastIndex = [indexPath indexAtPosition: length - 1];
[children insertObject: object atIndex: lastIndex];
NSLog(@"children = %@, class = %@", children, [children className]);
[self rearrangeObjects];
}
}