• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
@interface MyController for ThumbnailMatrix.h? Why? Confused?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@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

  • Follow-Ups:
    • Re: @interface MyController for ThumbnailMatrix.h? Why? Confused?
      • From: Andy Lee <email@hidden>
    • Re: @interface MyController for ThumbnailMatrix.h? Why? Confused?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Building with Subclasses
  • Next by Date: Re: @interface MyController for ThumbnailMatrix.h? Why? Confused?
  • Previous by thread: Re: Inserting text
  • Next by thread: Re: @interface MyController for ThumbnailMatrix.h? Why? Confused?
  • Index(es):
    • Date
    • Thread