"public header"
"public header"
- Subject: "public header"
- From: Rainer Brockerhoff <email@hidden>
- Date: Wed, 30 May 2001 23:38:34 -0300
At 19:13 -0700 on 30/05/2001, email@hidden wrote:
>
Date: Wed, 30 May 2001 12:42:23 -0700
>
Subject: Re: Simple Port Traffic?
>
From: Douglas Davidson <email@hidden>
>
Anything in a public header is available to you. Anything not in a
>
public header is not. Is that clear enough? The quote above referred
>
to something that was not in any public header.
A question ... there are many places in the public headers where one can see instance variables (or possibly even methods) whose name starts with a _ (underscore). I've read here on this list that one shouldn't use these variables even when subclassing, but there are several published examples which do just that. They're not mentioned in the docs AFAIK.
In some headers these variables are prefixed with @private, in some there's just a comment stating they're private, in others there's neither.
What is the official position here? Is it a case of "please ignore the man behind the curtain"?
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
http://www.brockerhoff.net/ (updated July 2000)