• 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: [OT] Re: NSTimer +timerWithTimeInterval:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Re: NSTimer +timerWithTimeInterval:


  • Subject: Re: [OT] Re: NSTimer +timerWithTimeInterval:
  • From: Ken Thomases via Cocoa-dev <email@hidden>
  • Date: Wed, 29 Apr 2020 17:29:47 -0500

On Apr 29, 2020, at 5:27 PM, Sandor Szatmari via Cocoa-dev
<email@hidden> wrote:
>
>> On Apr 29, 2020, at 17:12, Alex Zavatone via Cocoa-dev
>> <email@hidden> wrote:
>>
>> Not sure about this, but in Objective-C, you’re not supposed to start
>> methods with new.
>
> I’ve always operated under the premise that using a reserved prefix, such as
> new, was not verboten.  Rather, if one chose the prefix new one must ensure
> that the method followed memory management conventions, and would return an
> object with a +1 retain count.  Am I mistaken about this?

No, you're not mistaken.  That's correct.

Regards,
Ken

_______________________________________________

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: 
 >Re: NSTimer +timerWithTimeInterval: (From: Alex Zavatone via Cocoa-dev <email@hidden>)
 >[OT] Re: NSTimer +timerWithTimeInterval: (From: Sandor Szatmari via Cocoa-dev <email@hidden>)

  • Prev by Date: [OT] Re: NSTimer +timerWithTimeInterval:
  • Next by Date: Re: NSTimer +timerWithTimeInterval:
  • Previous by thread: [OT] Re: NSTimer +timerWithTimeInterval:
  • Next by thread: Re: [OT] NSTimer +timerWithTimeInterval:
  • Index(es):
    • Date
    • Thread