Diverse imporvements to get my XIB5 test application running.

This commit is contained in:
fredkiefer 2020-01-18 16:03:24 +01:00
parent aeafa9578e
commit 00bb2396a6
6 changed files with 42 additions and 17 deletions

View file

@ -76,7 +76,7 @@
- (NSArray *) objectsAtIndexes: (NSIndexSet *)indexes
{
NSArray * result = [_array objectsAtIndexes: indexes];
NSArray *result = [_array objectsAtIndexes: indexes];
return AUTORELEASE([[GSObservableArray alloc]
initWithArray: result]);
@ -460,8 +460,13 @@
- (NSArray*) arrangeObjects: (NSArray*)obj
{
NSArray *temp = [obj filteredArrayUsingPredicate: _filter_predicate];
NSArray *temp = obj;
if (_filter_predicate != nil)
{
temp = [obj filteredArrayUsingPredicate: _filter_predicate];
}
return [temp sortedArrayUsingDescriptors: _sort_descriptors];
}