gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser cleanup


From: Serg Stoyan
Subject: Re: NSBrowser cleanup
Date: Wed, 30 Jun 2004 23:26:28 +0300

Hello Gregory,

> --- Serg Stoyan <address@hidden> wrote:
> > Hi everybody,
> > 
> > Doing some fixes in NSBrowser I come up to idea that NSBrowser needs
> > some reorganization. Let me explain what I mean.
> > 
> > NSBrowser.m has 3 classes NSBrowserColumn,  GSBrowserTitleCell and
> > NSBrowser itself.
> > The idea is to sepearate classes location:
> > - NSBrowser stays in NSBroser.m
> > - NSBrowserColumn goes into AppKit/NSBrowserColumn.h  and
> > Sources/NSBrowserColumn.m
> > - change GSBrowserTitleCell name to NSBrowserTitleCell and put into
> >   AppKit/NSBrowserTitleCell.h and Sources/NSBrowserTitleCell.m
> 
> The only classes available, per the spec of either OpenStep and MOSX are
> NSBrowser and NSBrowser cell.  As a general rule, do not give classes
> that are GNUstep specific NS* prefixes.  This creates a clear deliniation
> as to what is defined in OpenStep/Cocoa and what is defined in GNUstep
> specifically.
> 
> GNUstep specific classes should only use the GS* prefix.

I understand that, Gregory. But NSBrowserTitleCell is only subset of
NSBrowser implementation. Anyway, I agree with you, GS* prefix is ok.

-- 
Serg Stoyan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]