| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi: I am having problems with an app under Mac OS X 10.4.3 and would like to know if some has an explanation: I have an application that is developed without using a NIB (please do not complain about that, I know it is not the usual way to go) with the following main() function: int main(int argc, char *argv[]) { NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; [NSApplication sharedApplication]; [NSApp setDelegate: [myAppDelegate new]]; [NSApp run]; [pool release]; return 0; } "myAppDelegate" is a custom class that implements the "applicationWillFinishLaunching" delegate method. Until (included 10.4.2), running that app, created a menu-bar with a working application menu, that included the usual menu items including "Quit". Under 10.4.3 only the menu-bar with the app name shows up but clicking on it does not unfold the menu. Debugging the application and trying to access [NSApp mainMenu] returns nil on 10.4.3. Is that change correct or am I doing something wrong. Why does it work on 10.4.2. Any ideas? Thanks for your help. Alexander Fischer |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.