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 also available for class objects. (More precisely, a class object is an instance of its root class, but root classes other than NSObject are uncommon.) http://sealiesoftware.com/blog/archive/2009/04/14/objc_explain_Classes_and_metaclasses.html -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com