• 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: NSWindow and autorelease with dynamic binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow and autorelease with dynamic binary


  • Subject: Re: NSWindow and autorelease with dynamic binary
  • From: "Kyle Sluder" <email@hidden>
  • Date: Tue, 15 Jan 2008 16:40:48 -0500

On Jan 15, 2008 3:17 PM, Wesley Smith <email@hidden> wrote:
> What really puzzles me is the difference between manually
> closing the window and procedurally closing the window.  The former
> works, the latter crashes.  If all the manual method does is trigger
> [win close], then I am doing the exact same thing procedurally and
> there should be no difference, but this is not the case.  I can't find
> any docs on what might be different between the two.  Any pointers?

What happens if you use -[NSWindow performClose:] instead?  That's the
action associated with the standard close button.

Maybe the window's delegate is disappearing from under its feet while
it's trying to ask whether the window should be closed?

--Kyle Sluder
_______________________________________________

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

References: 
 >NSWindow and autorelease with dynamic binary (From: "Wesley Smith" <email@hidden>)
 >Re: NSWindow and autorelease with dynamic binary (From: John Stiles <email@hidden>)
 >Re: NSWindow and autorelease with dynamic binary (From: "Wesley Smith" <email@hidden>)
 >Re: NSWindow and autorelease with dynamic binary (From: j o a r <email@hidden>)
 >Re: NSWindow and autorelease with dynamic binary (From: "Wesley Smith" <email@hidden>)
 >Re: NSWindow and autorelease with dynamic binary (From: John Stiles <email@hidden>)
 >Re: NSWindow and autorelease with dynamic binary (From: "Wesley Smith" <email@hidden>)

  • Prev by Date: NSLog broken after call of NSTask and setStandardError
  • Next by Date: Re: NSTrackingArea, Pie charts and not rectangular areas
  • Previous by thread: Re: NSWindow and autorelease with dynamic binary
  • Next by thread: Re: Image Capture in 10.5
  • Index(es):
    • Date
    • Thread