• 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
Re: Window 'close' action fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window 'close' action fails


  • Subject: Re: Window 'close' action fails
  • From: dct <email@hidden>
  • Date: Sat, 16 Aug 2008 11:48:00 -0700

My 'close' problem is solved by changing

- (IBAction)quit:(id)sender
{
        [self close];
}

to

- (IBAction)quit:(id)sender
{
        [splotWindow close];
}

where splotWindow is a File's Owner outlet connected to the nib's (only) window.

I'd still like to know why "[self close]" failed in this case--but I can live with the solution without knowing why it works in some cases and not in others.

Don
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Window 'close' action fails
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Preferred Wrapper for TCP Sockets Over Local Network?
  • Next by Date: NSUInteger hash
  • Previous by thread: Re: Window 'close' action fails
  • Next by thread: Re: Window 'close' action fails
  • Index(es):
    • Date
    • Thread