• 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: Defining a constant as private
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining a constant as private


  • Subject: Re: Defining a constant as private
  • From: j o a r <email@hidden>
  • Date: Wed, 16 Jun 2004 14:01:04 +0200

On 2004-06-16, at 13.34, Joakim Danielson wrote:

> How do I define a constant to be private to a class, and specially a
> string constant?

Something like this in the implementation file of the class:

NSString * const myString = @"SomeStringValue";

j o a r

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Defining a constant as private
      • From: Steve Checkoway <email@hidden>
References: 
 >Defining a constant as private (From: Joakim Danielson <email@hidden>)

  • Prev by Date: Re: Defining a constant as private
  • Next by Date: Re: Defining a constant as private
  • Previous by thread: Re: Defining a constant as private
  • Next by thread: Re: Defining a constant as private
  • Index(es):
    • Date
    • Thread