2 Replies
      Latest reply on Nov 9, 2015 9:08 AM by SevenTenEleven
      tompelaia2 Level 3 Level 3 (110 points)

        In Objective-C there is a distinction between atomic and nonatomic properties with properties being atomic by default. Swift has no such specifier. In Objective-C the implementation of an atomic property allows properties to be safely read and written from different threads. For nonatomic properties, the underlying pointer of a read value could be released when a new value is being written at the same time.

         

        Are Swift reference type properties atomic?