Hi everyone,

I was just writing some code and asked myself a question that I don't know the 
answer to, and a quick look in the documentation didn't reveal anything 
promising.

If I'm inside a method, is there a way to know at runtime whether that method 
is a class or an instance method?  Currently the only way I though of to do 
this is to see if "self" is a Class object or not, but I was wondering if 
there's a more reliable way to determine this.

Any ideas?

Thanks,

Dave

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

Reply via email to