Multiple choice

Which of the following is a false statement about the synthesised property?

  1. It is used to implement the code for the accessors.

  2. Synthesised accessors are atomic.

  3. Synthesised accessors can not be nonatomic.

  4. The getters must have a value as per the setters.

  5. There is no cost for the synthesised property if garbage collection is enabled.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

One can disable the synthesised property with the keyword nonatomic.