RE: Newbie Objective-C question
RE: Newbie Objective-C question
- Subject: RE: Newbie Objective-C question
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Wed, 8 Jan 2003 16:44:25 -0500
>
@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@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.