Looking up a NSString constant at runtime
Looking up a NSString constant at runtime
- Subject: Looking up a NSString constant at runtime
- From: David Alter <email@hidden>
- Date: Mon, 4 Jan 2010 13:56:01 -0800
Is there a way to lookup what and NString constant is at runtime? I want to
know what the string is for a given constant. For example I would like to
pass in the constant name ( i.e. NSDeviceResolution) and get back
the NSString that constant represents. I know in this case that the Constant
name and the string are the same but I suspect that is not always true. Any
ideas?
thanks
-dave
_______________________________________________
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