I've run into the need for something like this often enough that I
just end up writing a simple container class that mimic's C++'s pair
class. Something like this:
#import
@interface My_Pair : NSObject
{
id first;
id second;
}
+ (My_Pair *)pairWith:(id)_first and:(id)_secon
Thanks! I think using public.image and public.movie are going to work
just fine. I can now drop images and movies onto my app's Finder icon,
although not the Dock icon, yet.
Andrew
On Jul 16, 2009, at 3:00 PM, Mike Abdullah wrote:
Pretty certain you do need to this manually. One option could
I'm using code something like this to build a list of file types that
my application can read:
NSArray *movieTypes = [[QTMovie movieFileTypes:QTIncludeCommonTypes]
retain];
NSArray *imageTypes = [[NSImage imageFileTypes] retain];
allTypes = [[imageTypes arrayByAddingObjectsFromArray:movieTyp