• 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: Document being reopened on launch during modal dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document being reopened on launch during modal dialog


  • Subject: Re: Document being reopened on launch during modal dialog
  • From: Graham Cox <email@hidden>
  • Date: Thu, 08 May 2014 11:11:48 +1000

On 8 May 2014, at 10:39 am, Kyle Sluder <email@hidden> wrote:

> Wait, why do you suspect this? Unless I missed something, there’s no guarantee, ARC or not, that a receiver will survive through a method invocation.


How else could it work? -performSelector must hang on to the receiver at least until the method invocation, so any release must come afterwards, or an autorelease beforehand which means the release itself will be afterwards. If it was otherwise -performSelector would be crashing continually, which is not the behaviour observed.

--Graham



_______________________________________________

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: Document being reopened on launch during modal dialog
      • From: Greg Parker <email@hidden>
References: 
 >Document being reopened on launch during modal dialog (From: "Mills, Steve" <email@hidden>)
 >Re: Document being reopened on launch during modal dialog (From: Lee Ann Rucker <email@hidden>)
 >Re: Document being reopened on launch during modal dialog (From: Quincey Morris <email@hidden>)
 >Re: Document being reopened on launch during modal dialog (From: Graham Cox <email@hidden>)
 >Re: Document being reopened on launch during modal dialog (From: "Mills, Steve" <email@hidden>)
 >Re: Document being reopened on launch during modal dialog (From: Quincey Morris <email@hidden>)
 >Re: Document being reopened on launch during modal dialog (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Document being reopened on launch during modal dialog
  • Next by Date: Re: Help with Help
  • Previous by thread: Re: Document being reopened on launch during modal dialog
  • Next by thread: Re: Document being reopened on launch during modal dialog
  • Index(es):
    • Date
    • Thread