[Cocoa-sharp] Cocoa namespace
Chuck Esterbrook
chuck.esterbrook at gmail.com
Thu Jan 24 17:22:34 EST 2008
On Jan 24, 2008 11:40 AM, Andrew Brehm <ajbrehm at gmail.com> wrote:
> > This is analogous to .NET where you might say:
> >
> > using System;
> > using System.Collections.Generic;
> > using System.Windows.Forms;
> >
> > And it respects that not all things Objective-C are Cocoa.
>
> That looks more like
>
> Using Cocoa.AppKit;
>
> then like
>
> Using AppKit;
I meant in the vertical respect. In .NET, we don't have one "using"
that pulls in both collections and GUI. We have multiple "using" lines
for each major area.
Regarding the horizontal, I'd rather not say "Cocoa" as it only makes
sense for two frameworks. There wouldn't be a "Cocoa." for AddressBook
or WebKit. I think we could get by without the prefix, but if we
really need or want one, "ObjC" would make more sense:
("Obj-C" is a common abbreviation for "Objective-C" btw)
using ObjC.FoundationKit;
using ObjC.AddressBook;
-Chuck
More information about the Cocoa-sharp
mailing list