FROM : Ben Lachman
DATE : Thu Jun 22 20:28:14 2006
This assumes you have a window controller and therefore using a
document based app? Do you know a way of doing this without a window
controller?
->Ben
--
The user's going to pick dancing pigs over security every time. —
Bruce Schneier
On Jun 22, 2006, at 11:20 AM, George Orthwein wrote:
> Ah, it's actually setSortDescriptors you want. Set it in
> windowControllerDidLoadNib:
>
> NSSortDescriptor* sortDescriptor = [[[NSSortDescriptor alloc]
> initWithKey: @"displayOrder" ascending: YES] autorelease];
> [tableView setSortDescriptors:[NSArray
> arrayWithObject:sortDescriptor]];
>
> Hope that helps,
> George
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Thu Jun 22 20:28:14 2006
This assumes you have a window controller and therefore using a
document based app? Do you know a way of doing this without a window
controller?
->Ben
--
The user's going to pick dancing pigs over security every time. —
Bruce Schneier
On Jun 22, 2006, at 11:20 AM, George Orthwein wrote:
> Ah, it's actually setSortDescriptors you want. Set it in
> windowControllerDidLoadNib:
>
> NSSortDescriptor* sortDescriptor = [[[NSSortDescriptor alloc]
> initWithKey: @"displayOrder" ascending: YES] autorelease];
> [tableView setSortDescriptors:[NSArray
> arrayWithObject:sortDescriptor]];
>
> Hope that helps,
> George
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Alexander Lamb | Jun 22, 11:18 | |
| I. Savant | Jun 22, 14:15 | |
| Alexander Lamb | Jun 22, 15:53 | |
| George Orthwein | Jun 22, 17:20 | |
| Ben Lachman | Jun 22, 20:28 | |
| George Orthwein | Jun 23, 00:11 |






Cocoa mail archive

