Steven, Thanks! That did it.
Tom Wetmore On May 7, 2013, at 5:57 PM, Steven Degutis <sbdegu...@gmail.com> wrote: > ARC is on. Retain the window controller. > > On Tue, May 7, 2013 at 4:52 PM, Thomas Wetmore <t...@verizon.net> wrote: >> I hope someone can put me straight. I created a vanilla Cocoa App. I deleted >> the window from the MainMenu.xib and created a MainWindow.xib with >> essentially an identical window (no views). >> >> I created a MainWindowController with one overriding method, init, see >> below. In the app delegate's applicationDidFinishLaunching method I create >> the main window controller and attempt to show the main window. If I >> breakpoint just after the [mainController showWindow: nil] method I can see >> the proper user interface with the main menu and main window. However, when >> I let the program run the window immediately disappears. As none of my code >> runs after that point I'm at a bit of a loss discovering what makes the >> window go away. >> >> What am I doing (or not doing) that causes the main window to close or >> become invisible? The code is below. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com