Actually, I just found it!

http://developer.apple.com/mac/library/documentation/DeveloperTools/gcc-4.0.1/cpp/Standard-Predefined-Macros.html#Standard-Predefined-Macros

This will certainly suit my purposes what I was needing.  However, the check of 
[self class] == self is still really useful.

Thanks everyone!

Dave

On Apr 18, 2010, at 8:26 PM, Dave DeLong wrote:

> That's amazing!  Is there some sort of coherent list of magic identifiers 
> somewhere?
> 
> Dave
> 
> On Apr 18, 2010, at 8:21 PM, Michael Ash wrote:
> 
>> The magic __func__ identifier produces a C string which I believe, in
>> an ObjC method, has exactly the format you're looking for.
> _______________________________________________
> 
> 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/davedelong%40me.com
> 
> This email sent to davedel...@me.com

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