Re: Handling UTIs from a Cocoa protocol
Re: Handling UTIs from a Cocoa protocol
- Subject: Re: Handling UTIs from a Cocoa protocol
- From: Ken Thomases <email@hidden>
- Date: Sun, 18 Dec 2011 02:49:01 -0600
On Dec 18, 2011, at 2:36 AM, Charles Srstka wrote:
> On Dec 18, 2011, at 2:31 AM, C.W. Betts wrote:
>
>> So I would do something along the lines of [NSArray arrayWithObjects:ClassName1, ClassName2, nil]?
>
> Or just class1, class2, etc. where class1 and class2 are both of type Class.
You can use pointers to class objects, but you can't just use class names. If you are starting from class names, you use [ClassName1 class] to get the class object.
Regards,
Ken
_______________________________________________
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