• 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: Retain count in non ARC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retain count in non ARC


  • Subject: Re: Retain count in non ARC
  • From: Ben Kennedy <email@hidden>
  • Date: Sun, 06 Apr 2014 20:58:30 -0700

On 06 Apr 2014, at 8:44 pm, Graham Cox <email@hidden> wrote:

> I thought about mentioning it, but figured it might already sound a bit complicated. Isn't 'nonatomic' the default? If not, I can't actually find the documentation about it. Also, if 'atomic' is the default, won't performance suffer with all those unnecessary locks?

It is for these two reasons that, from years of conditioning, I can watch my fingers type "(nonatomic " automatically and as if my magic as soon as I finish typing "@property " ...

The atomic vs. nonatomic default is a peculiarity of Obj-C that never seemed to be well documented or explained when properties were first introduced.

b

--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca


_______________________________________________

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: Retain count in non ARC
      • From: Graham Cox <email@hidden>
References: 
 >Retain count in non ARC (From: Varun Chandramohan <email@hidden>)
 >Re: Retain count in non ARC (From: Graham Cox <email@hidden>)
 >Re: Retain count in non ARC (From: Graham Cox <email@hidden>)
 >Re: Retain count in non ARC (From: Varun Chandramohan <email@hidden>)
 >Re: Retain count in non ARC (From: Graham Cox <email@hidden>)
 >Re: Retain count in non ARC (From: Ken Thomases <email@hidden>)
 >Re: Retain count in non ARC (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Retain count in non ARC
  • Next by Date: Re: Retain count in non ARC
  • Previous by thread: Re: Retain count in non ARC
  • Next by thread: Re: Retain count in non ARC
  • Index(es):
    • Date
    • Thread