Re: Handling UTIs from a Cocoa protocol
Re: Handling UTIs from a Cocoa protocol
- Subject: Re: Handling UTIs from a Cocoa protocol
- From: "C.W. Betts" <email@hidden>
- Date: Sun, 18 Dec 2011 01:31:39 -0700
So I would do something along the lines of [NSArray arrayWithObjects:ClassName1, ClassName2, nil]?
On Dec 17, 2011, at 9:51 PM, Chris Hanson wrote:
> On Dec 17, 2011, at 6:02 PM, C.W. Betts wrote:
>
>> Is there a way to put classes into some sort of array to go through and check if the UTI of a file matches up to any of the UTIs that the class can handle?
>
> Classes are objects too, so you can put them in arrays and so on.
>
> -- Chris
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden