On Mon, Dec 8, 2008 at 11:13 AM, Nick Zitzmann <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2008, at 10:57 PM, Chris Hiszpanski wrote: > >> - How can I create a window without creating a full fledge application >> (i.e. without creating an instance of NSApplication)? > > While not technically supported, you can use anything in the AppKit after > calling NSApplicationLoad() once.
Sure, but unless you really know what you're doing and have a very good reason for doing it, this approach for a "GUI-less app with a window" is just plain silly. If you want a Cocoa "program" (avoiding use of the word "application" to avoid confusion with an NSApplication instance) with a window in the GUI, just create a normal Cocoa application and be done with it. Maybe the OP can give a more thorough description of what he's trying to accomplish and why he wants a window but no other GUI elements. It raises some pretty important questions: How will the user control this disembodied window floating on his/her desktop? Why have a window if you're making your user launch (and quit) the "program" from the command line? Sorry to harp on this, but it just seems like a very, very wrong way of approaching Mac OS X application design. -- I.S. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
