• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sortDiscriptor binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >sortDiscriptor binding (From: Kevin Bracey <email@hidden>)

  • Prev by Date: Re: managedObjectContext hasChanges
  • Next by Date: Re: Icons in column-headers
  • Previous by thread: sortDiscriptor binding
  • Next by thread: Issue while calling run modal after showing a sheet
  • Index(es):
    • Date
    • Thread