|
From: | David Ayers |
Subject: | Re: debugSet |
Date: | Thu, 26 Jun 2003 13:39:04 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507 |
Richard Frith-Macdonald wrote:
The -set... methods are generally used to modify instance variables, in which case, consistency dictates that there should be a-(BOOL)enableDebug; counterpart to-(void)setEnableDebug:(BOOL)flag;
Granted :-)
better (more self explanatory) would be -(BOOL)debugLoggingEnabled; -(void)setDebugLoggingEnabled:(BOOL)flag;
This would allow for handling of recursions if necessary, so it gets my vote.
Cheers, David
[Prev in Thread] | Current Thread | [Next in Thread] |