• 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
Minimal cocoa application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Minimal cocoa application
      • From: m <email@hidden>
    • Re: Minimal cocoa application
      • From: "John C. Randolph" <email@hidden>
    • Re: Minimal cocoa application
      • From: Andrew Farmer <email@hidden>
    • Re: Minimal cocoa application
      • From: Stefan Werner <email@hidden>
  • Prev by Date: dynamic popupbutton in a table
  • Next by Date: Re: alloc init thread safe?
  • Previous by thread: dynamic popupbutton in a table
  • Next by thread: Re: Minimal cocoa application
  • Index(es):
    • Date
    • Thread