On Nov 18, 2010, at 1:18 PM, 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. So I wrote this:
All class objects are also instances of NSObject. That means any instance
method from NSObject is als
Le 18 nov. 2010 à 22:31, Joar Wingfors a écrit :
>> I supposed I couldn't do such a simple thing as [MyClass perform:selector]
>> because the perform: method is an instance one.
>
> [MyClass performSelector:theSelector];
> Works like a charm.
Thanks Joar, next time I shall be more adventu
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
_