• 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: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?


  • Subject: Re: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 21 Mar 2006 20:35:43 -0800
  • Thread-topic: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?

I decided to rewrite my code using NSArrayController, but still the result
is the same...it seems to use NSMutableDictionary's -objectForKey, instead
of my beautiful KVC-compliant "accessor" methods.

I suppose I could work around this by kludging my own "compare" selector in
my NSSortDescriptor, but I'd just like some confirmation that I'm not making
some other stupid mistake before I do something which seems SOOOOO UN-COCOA!

My objects are not instances of a clean, stand-alone class, but are instead
NSMutableDictionaries, and my "accessor" methods in a category.  Is this the
problem?  (A couple months ago I tried to subclass NSMutableDictionary, but
we know that don't work.)

Jerry


 _______________________________________________
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

  • Follow-Ups:
    • Re: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?
      • From: Greg Herlihy <email@hidden>
    • Re: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?
      • From: Fritz Anderson <email@hidden>
References: 
 >Doesn't -sortedArrayUsingDescriptors: use KVC accessors? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: How to create paginated PDF Data from NSView without using NSPrintOperation.
  • Next by Date: Re: How to create paginated PDF Data from NSView without using NSPrintOperation.
  • Previous by thread: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?
  • Next by thread: Re: Doesn't -sortedArrayUsingDescriptors: use KVC accessors?
  • Index(es):
    • Date
    • Thread