Re: Minimal cocoa application
Re: Minimal cocoa application
- Subject: Re: Minimal cocoa application
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 8 Mar 2007 06:23:17 -0800
On Mar 8, 2007, at 3:14 AM, Godwin, Mark R wrote:
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?
Mark,
I've seen this question countless times over the years, and the long
and short of it is, we just don't do it that way. Trying to roll your
own startup code will *not* help you understand how to use Cocoa any
sooner, it's merely a diversion into details that we rarely (if ever)
need to change.
The minimum work to create a window with a WebView in it, is just to
use the Cocoa app template, and drop a WebView onto the window that
exists in the default nib file. Yes, it *can* be done in code, but it
*shouldn't* be done that way.
-jcr
John C. Randolph,
VP, Engineering
Stealth Imaging, LLC. <email@hidden>
_______________________________________________
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