Re: Defining a constant as private
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.