Make sure -[CPArrayController arrangedObjects] always has a non-nil value.

This commit is contained in:
Brian Donovan
2011-03-15 19:53:14 -07:00
parent e1d45fd385
commit abce41d6fd
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
_sortDescriptors = [CPArray array];
_filterPredicate = nil;
_selectionIndexes = [CPIndexSet indexSet];
_arrangedObjects = nil;
_arrangedObjects = [CPArray array];
}
- (void)prepareContent