• 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: case-insensitive NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: case-insensitive NSDictionary


  • Subject: Re: case-insensitive NSDictionary
  • From: Michael Ash <email@hidden>
  • Date: Mon, 16 Mar 2009 14:27:27 -0400

On Mon, Mar 16, 2009 at 2:20 PM, Stuart Malin <email@hidden> wrote:
>
> On Mar 16, 2009, at 7:55 AM, Sherm Pendley <email@hidden> wrote:
>
> On Mon, Mar 16, 2009 at 12:03 PM, Michael Ash <email@hidden> wrote:
>
>
> Why does everybody think that subclassing a class cluster is hard?
>
>
> Beats me - I've often wondered the same thing. All you need to do is
> implement the required primitive methods. What's so hard about that?
>
> Question from a non-expert:
> How does one know just which methods are "required primitive" methods for
> some class? Is that discernible from documentation? Header file?

Why not go look at the docs and see?

Open the NSDictionary docs, cmd-F, "primitive", return, and you'll see
a section called "Primitive Methods". This is true of every class that
Apple documents as being a class cluster.

(Some classes, like NSTask, are class clusters but Apple never tells
us that. For those, you get to find out when you subclass them and
your subclass explodes. Fun times.)

Mike
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: case-insensitive NSDictionary (From: Stuart Malin <email@hidden>)

  • Prev by Date: Re: case-insensitive NSDictionary
  • Next by Date: Re: case-insensitive NSDictionary
  • Previous by thread: Re: case-insensitive NSDictionary
  • Next by thread: Re: case-insensitive NSDictionary
  • Index(es):
    • Date
    • Thread