Re: Re: NSMutableArray, TableView, Bindings and Sorting
Re: Re: NSMutableArray, TableView, Bindings and Sorting
- Subject: Re: Re: NSMutableArray, TableView, Bindings and Sorting
- From: <email@hidden>
- Date: Mon, 26 Jul 2004 12:55:24 -0400
>
From: mmalcolm crawford <email@hidden>
>
Date: 2004/07/26 Mon PM 12:13:39 EDT
>
To: John Tsombakos <email@hidden>
>
CC: email@hidden
>
Subject: Re: NSMutableArray, TableView, Bindings and Sorting
>
>
>
On Jul 25, 2004, at 9:13 PM, John Tsombakos wrote:
>
>
>> - (NSArray *)arrangeObjects:(NSArray *)objects
>
>> <http://developer.apple.com/documentation/Cocoa/Reference/
>
>> ApplicationKit/ObjC_classic/Classes/NSArrayController.html>
>
>>
>
>> See also examples at:
>
>> <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
>
>>
>
> Just want to double check I'm doing it right - I'm using
>
> 'arrangedObjects' - I wasn't sure what to use for "objects"
>
> - (IBAction) doSort:(id)sender;
>
>
>
Umm, no, you just implement -arrangeObjects: and do the sorting there,
>
as per the example...
>
>
mmalc
>
Hmm. The way I did, did return a sorted array. Which example shows sorting? I can't see which one does.
Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.