mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 12:30:47 +00:00
Diverse imporvements to get my XIB5 test application running.
This commit is contained in:
parent
aeafa9578e
commit
00bb2396a6
6 changed files with 42 additions and 17 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue