Re: sortDiscriptor binding
Re: sortDiscriptor binding
- Subject: Re: sortDiscriptor binding
- From: mmalc crawford <email@hidden>
- Date: Thu, 5 Oct 2006 21:46:16 -0700
On Oct 5, 2006, at 6:59 PM, Kevin Bracey wrote:
Why doesn't the sortDiscriptor get it's initial setting from the
binding link to MyDocument when it gets setup?
You're not setting the value in a KVO-compliant way...
orderDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"order"
ascending:NO] autorelease];
sortOrder = [[NSArray arrayWithObject:orderDescriptor] retain];
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/Troubleshooting.html
>
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden