On Mon, Mar 16, 2009 at 2:20 PM, Stuart Malin <stu...@zhameesha.com> wrote: > > On Mar 16, 2009, at 7:55 AM, Sherm Pendley <sherm.pend...@gmail.com> wrote: > > On Mon, Mar 16, 2009 at 12:03 PM, Michael Ash <michael....@gmail.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com