Re: Calling a class method with the runtime ObjC API
Re: Calling a class method with the runtime ObjC API
- Subject: Re: Calling a class method with the runtime ObjC API
- From: Joar Wingfors <email@hidden>
- Date: Thu, 18 Nov 2010 13:31:32 -0800
On 18 nov 2010, at 13.18, vincent habchi wrote:
> I supposed I couldn't do such a simple thing as [MyClass perform:selector] because the perform: method is an instance one.
Sure you can:
[MyClass performSelector:theSelector];
Works like a charm.
j o a r
_______________________________________________
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