Skip navigation.
 
mlRE: Newbie Objective-C question
FROM : Jonathan E. Jackel
DATE : Wed Jan 08 22:44:25 2003

> @interface alreadyExistingClass(What_is_this)
> @end
>
> @implementation alreadyExistingClass(What_is_this)
> @end
>
> ----------------------
>
> If I have understood things correctly (judging only from code I've
> seen), What_is_this, is just some sort of keyword to say what "part" of
> a class I am extending, and hasn't much to do with the finished app. I
> would be happy if somebody told me why to use these and what they do.
> Documentation links are appreciated.


Those are categories, which are a way of extending a class without making a
subclass.

http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/3objc_language_o
verview/Categories__ing_Classes.html



>
> Some links to documentation on "Delegates" and "Protocols" would also
> be very useful as I use these without knowing _exactly_ what they are...


There's a search box on the ADC pages.  Follow the link above and try it.

Jonathan
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNewbie Objective-C question Elias Freider Jan 8, 13:28
mlRe: Newbie Objective-C question Mike Ferris Jan 8, 22:12
mlRE: Newbie Objective-C question Jonathan E. Jackel Jan 8, 22:44
mlRe: Newbie Objective-C question Sherm Pendley Jan 8, 23:10
mlRe: Newbie Objective-C question Finlay Dobbie Jan 8, 23:15
mlRe: Newbie Objective-C question Greg Parker Jan 9, 00:09