@interface MyController for ThumbnailMatrix.h? Why? Confused?
@interface MyController for ThumbnailMatrix.h? Why? Confused?
- Subject: @interface MyController for ThumbnailMatrix.h? Why? Confused?
- From: James Andrews <email@hidden>
- Date: Sun, 16 Jan 2005 20:03:19 -0500
In my project I am in need of a view that displays image thumbnails
like iPhoto. While searching freshmeat.net I found a project "EOS
Image Manager" Went to their website and saw that they had a Matrix
that did just what I wanted to, and decided to download the source via
CVS to see how they were handling it.
http://sourceforge.net/cvs/?group_id=70796 module name "EOSIM" (all
caps) for those who want to check out the source
Anyway in the file list for the project there's ThumbnailMatrix.h and
ThumbnailMatrix.m This obviously would be the definition for building
a thumbnail matrix. When I opened the header file, I instantly became
baffled with this:
#import <Foundation/Foundation.h>
#import "MyController.h"
#import "ThumbnailCell.h"
@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?
Thanks,
James
_______________________________________________
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