• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Minimal cocoa application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Minimal cocoa application
      • From: Joshua Orr <email@hidden>
References: 
 >Minimal cocoa application (From: "Godwin, Mark R" <email@hidden>)

  • Prev by Date: Re: Allowed Discussions between NDA members
  • Next by Date: Re: Allowed Discussions between NDA members
  • Previous by thread: Re: Minimal cocoa application
  • Next by thread: Re: Minimal cocoa application
  • Index(es):
    • Date
    • Thread