PDA

View Full Version : Hillegass P 91




mdeh
Mar 10, 2009, 11:46 PM
I've been messing around with this for days, so it's time to ask.
Hillegas's first challenge is this?

Create an application that can have only one window open, so it is not a document-based application.

What puzzles me is the admonition that the window is to be of a certain type. I have googled/searched lists/ looked at the Apple Dev notes and I am sure it is there, but I am mystified **why** the challenge specifically mentions one window, and that it is **not** to be a document window. As far as I can tell, the other window is a simple application window, and this window already resides in the IB, but if someone can perhaps throw some light on this, or send a reference, I will be very appreciative.



HiRez
Mar 11, 2009, 02:58 AM
I don't think it's anything so mysterious, I believe he's just trying to tell you to create the project type as Cocoa Application instead of Cocoa Document-Based Application. Then your application will have one window associated with it (by default anyway), instead of one per open document.

mdeh
Mar 11, 2009, 07:16 AM
I don't think it's anything so mysterious, I believe he's just trying to tell you to create the project type as Cocoa Application instead of Cocoa Document-Based Application. Then your application will have one window associated with it (by default anyway), instead of one per open document.

I dont't know the icon for embarrassment! Thanks...I did not even think of looking at the different types of applications! :)
Thanks

zabbadu
Mar 11, 2009, 05:49 PM
I believe you're looking for this one:

:o

But, as far as I'm concerned.. there's no reason to be.