• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
document window appears very briefly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

document window appears very briefly


  • Subject: document window appears very briefly
  • From: email@hidden
  • Date: Tue, 27 Feb 2007 10:26:45 +0100 (CET)
  • Importance: Normal

                                                    Hello all,

     I have a subclass of NSDocument and after initializing its "Model"
part, the "View" part
is initialized by the following two lines :

  [NSBundle loadNibNamed:@"Hardy2Document.nib" owner:theDoc];
 [theDoc showWindows];

  After the second line is executed, the window should appear on-screen,
right ? Well, it
does appear, but immediately disappears in a flash. What kind of error in
the code is likely
to produce that sort of  behaviour ?

                                                                                          Ewan



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: document window appears very briefly
      • From: Ryan Homer <email@hidden>
    • Re: document window appears very briefly
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: EXC-BAD-ACCESS bug
  • Next by Date: Re: EXC-BAD-ACCESS bug
  • Previous by thread: Re: EXC-BAD-ACCESS bug (SOLVED)
  • Next by thread: Re: document window appears very briefly
  • Index(es):
    • Date
    • Thread