Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First off, I wanted to promote the comment from David Gelhar to a full answer. The modifiers <code>atomic</code> and <code>nonatomic</code> have nothing to do with thread safety. See <a href="https://stackoverflow.com/questions/588866/atomic-vs-nonatomic-properties">this question</a> for more detail in that space.</p> <p>The other items you listed can be addressed relatively simply. I'll hit them briefly and point you toward the <a href="http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocProperties.html#//apple_ref/doc/uid/TP30001163-CH17-SW1" rel="nofollow noreferrer">documentation</a> on property modifiers if you want more.</p> <p><code>atomic</code> vs <code>nonatomic</code> primarily ensures that complete values are returned from synthesized getters and that complete values are written by synthesized setters.</p> <p><code>readwrite</code> vs <code>readonly</code> determines whether a synthesized property has a synthesized accessor or not (<code>readwrite</code> has a setter and is the default, <code>readonly</code> does not).</p> <p><code>assign</code> vs <code>retain</code> vs <code>copy</code> determines how the synthesized accessors interact with the Objective-C memory management scheme. <code>assign</code> is the default and simply performs a variable assignment. <code>retain</code> specifies the new value should be sent <code>-retain</code> on assignment and the old value sent <code>-release</code>. <code>copy</code> specifies the new value should be sent <code>-copy</code> on assignment and the old value sent <code>-release</code>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload