Re: @interface MyController for ThumbnailMatrix.h? Why? Confused?
Re: @interface MyController for ThumbnailMatrix.h? Why? Confused?
- Subject: Re: @interface MyController for ThumbnailMatrix.h? Why? Confused?
- From: Andreas Mayer <email@hidden>
- Date: Mon, 17 Jan 2005 02:26:50 +0100
Am 17. Jan 2005 um 02:03 Uhr schrieb James Andrews:
@interface MyController (ThumbnailMatrix)
I don't understand why the interface is called "MyController
(ThumbnailMatrix)" instead of just ThumbnailMatrix. What does this
do, and why would it be done?
This is a category declaration and extends the base class. See
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
LanguageOverview/chapter_3_section_7.html
Extending an app specific controller seems kind of weird though. Maybe
they just wanted to divide the source code in more manageable chunks.
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden