Re: Creating Windows Programatically
Re: Creating Windows Programatically
- Subject: Re: Creating Windows Programatically
- From: email@hidden
- Date: Sun, 30 Jun 2002 12:17:53 -0500
Begin forwarded message:
From: email@hidden
Date: Sun Jun 30, 2002 12:16:38 PM US/Central
To: Sebastian Celis <email@hidden>
Cc: cocoa-dev
Subject: Re: Creating Windows Programatically
The ADC / OReilly "Building Cocoa Applications" book by Garfinkle &
Mahoney gives a small example program called
Tiny on how to hand build windows (heck a while program) w/o using
Interface Builder, etc.
The appropriate chapter (4) starts on page 104. All code examples are
available from O'Reilly so you could just download
the Chapter 4 code source as a starting point..
Once you have the main window and NSView you can just use the
documentation on NSView on how to add
sub-views, etc. etc. to build up an even more complex window. Also read
the various documentation on
NSView chains, etc. on how IB does all this for you and how stuff
works..
Of course, the real question is.. Why would you want to go about and do
all this work instead of at least
having IB do the preliminary stuff for you and then you just "tweak"
it .. :-)
Cheers
-SJM
On Sunday, June 30, 2002, at 11:46 AM, Sebastian Celis wrote:
I'm looking for information or tutorials on creating windows
programmatically and then adding specific views to the window. Are
there any links out there that anyone could point me to? I am having
trouble wording my searches in a way that actually gives me results.
Thanks,
Sebastian Celis
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.