• 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: Could somebody please fix NSTimer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Could somebody please fix NSTimer?


  • Subject: Re: Could somebody please fix NSTimer?
  • From: David Duncan <email@hidden>
  • Date: Mon, 14 Jan 2013 10:07:26 -0800

On Jan 12, 2013, at 10:49 AM, Gordon Apple <email@hidden> wrote:

> When compiled under ARC, NSTimer should have a weak, not strong, reference to its target.

If you want this, file a bug. Posting on the mailing list isn't guaranteed to get your request anywhere close to the persons responsible for evaluating and implementing features.

>  When the timer starts to fire, check the reference for nil and invalidate itself.  Come on guys, how hard is that?

Probably harder than you give credit for, given that the framework has to work correctly for MRR, ARC and GC (where "correct" is subtly different for each environment) as well as support existing applications of each of these flavors that wouldn't know about this new behavior.
--
David Duncan

_______________________________________________

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: Could somebody please fix NSTimer?
      • From: John McCall <email@hidden>
References: 
 >Could somebody please fix NSTimer? (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: AppleScript in Sandboxed App
  • Next by Date: Re: Optimal height for WebView
  • Previous by thread: Re: Could somebody please fix NSTimer?
  • Next by thread: Re: Could somebody please fix NSTimer?
  • Index(es):
    • Date
    • Thread