• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Looking up a NSString constant at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking up a NSString constant at runtime


  • Subject: Re: Looking up a NSString constant at runtime
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 4 Jan 2010 17:01:27 -0500

On Mon, Jan 4, 2010 at 4:56 PM, David Alter <email@hidden> wrote:
> Is there a way to lookup what and NString constant is at runtime?

Just log it, same as any other string:

    NSLog(@"%@", NSDeviceResolution);

sherm--

--
Cocoa programming in Perl:
http://www.camelbones.org
_______________________________________________

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

  • Follow-Ups:
    • Re: Looking up a NSString constant at runtime
      • From: Oftenwrong Soong <email@hidden>
References: 
 >Looking up a NSString constant at runtime (From: David Alter <email@hidden>)

  • Prev by Date: Looking up a NSString constant at runtime
  • Next by Date: Re: Looking up a NSString constant at runtime
  • Previous by thread: Looking up a NSString constant at runtime
  • Next by thread: Re: Looking up a NSString constant at runtime
  • Index(es):
    • Date
    • Thread