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:
>
> 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?
>

They're listed in the class reference docs, although not in a very
consistent manner. In NSDictionary's docs, there's a section titled
"Primitive Methods". For NSArray and NSString, there's a "Methods to
Override" subsection under the "Subclassing Notes" section. In
NSMutableDictionary's docs, they're described in the first paragraph of the
main overview, rather than in a section of their own.

sherm--

-- 
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________

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

Reply via email to