• 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: Koen van der Drift <email@hidden>
  • Date: Wed, 16 Jun 2004 20:45:58 -0400

On Jun 16, 2004, at 7:34 AM, Joakim Danielson wrote:

An ObjC question:

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



The Sketch.app example uses this syntax:

@interface SKTGraphic : NSObject <NSCopying> {
@private
SKTDrawDocument *_document;
....
}


I don't know if this will work with a string constant.


- Koen.
_______________________________________________
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.


References: 
 >Defining a constant as private (From: Joakim Danielson <email@hidden>)

  • Prev by Date: cocoa.h not found?
  • Next by Date: Re: Online help question
  • Previous by thread: Re: Defining a constant as private
  • Next by thread: Reading the executable from the executable
  • Index(es):
    • Date
    • Thread