Minimal cocoa application
Minimal cocoa application
- Subject: Minimal cocoa application
- From: "Godwin, Mark R" <email@hidden>
- Date: Thu, 8 Mar 2007 11:14:47 -0000
- Thread-topic: Minimal cocoa application
Hi all,
Apologies in advance for the newbie question...
I'm just getting started with Cocoa, and I've read a fair amount of
"getting started with Cocoa" guides. However, all of these tutorials,
etc., are wrapped up in X code wizards, and Interface Builder generated
stuff. I find this hides all of the nitty-gritty detail that I would
like to understand. I like to know as much as possible what is happening
behind the scenes, before allowing a GUI to hide it away from me.
What I would like to know is, what is the absolute minimum I need to do
to create a window in Cocoa, and fill it with, for instance, a WebView?
Ignoring menu bars and the like to start with.
I'm assuming this is just a few lines of ObjC code. I tried creating a
NSWindow-derived class, and it seemed to init OK, but I couldn't find
out how to get it to display on the screen.
I want to avoid Nibs and Interface Builder and XCode, even though I
understand that is the sensible way to get things done with Cocoa.
A tiny snippet sample code just to bootstrap my development process
would be really appreciated!
Thanks in advance,
Mark
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden