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.
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 mails | Author | Date |
|---|---|---|
| Elias Freider | Jan 8, 13:28 | |
| Mike Ferris | Jan 8, 22:12 | |
| Jonathan E. Jackel | Jan 8, 22:44 | |
| Sherm Pendley | Jan 8, 23:10 | |
| Finlay Dobbie | Jan 8, 23:15 | |
| Greg Parker | Jan 9, 00:09 |






Cocoa mail archive

