Showing a modal dialog using -runModalForWindow in an effect
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hey Team. I'm currently using [NSApplication sharedApplication]. Has anyone done this, or something like this? I'd appreciate any advice or sample code regarding showing a modal dialog when an effect starts. Thanks. Matt Rhodes Zaxwerks, Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... We have the need to show a modal dialog box when our effect is first displayed. Is there a recommended place to do this? We're currently doing this in -initWithApiManager I'm trying to use -runModalForWindow for the modal dialog. I grab an NSWindow in a .xib (.nib) file and can display it with -runModalForWindow. I'm getting some random crashes after showing the dialog. The problem seems to be that as an effect I don't really have an NSApplication to hang onto and -runModalForWindow requires it. This email sent to site_archiver@lists.apple.com
participants (1)
-
Matt Rhodes