Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSApplication callback of some sort?



Hey everyone.

I am really need to this language and framework, but I think I am progressing quite well. My application is near done, but I need to launch something as soon as the application starts up. I tried calling a function right before "return NSApplicationMain(argc, argv);" which in the end opens a window. This method works up until the point that it has to open a window created in IB. It should open it, but never does. I am guessing that NSApplicationMain inits all that stuff. How can I make a callback or something that I can call this function on startup and be able to access Cocoa, Foundation, the works... ?

Thanks,

Graham




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.