Jonathan,

It might be a bit simplified, but I always advise to use nonatomic properties 
for UI classes (controllers, views, etc) and atomic for model classes. In 
general UI should be accessed only by the main thread (if not, you have way 
more serious problems than atomic vs. nonatomic). With a lot of practice one 
develops an intuition (for a lack of better word).

You are correct, that for trivial tasks atomic properties are not slowing down 
the app. But I found out that for scrolling intensive UIs this is not the case.

Cheers


Georg

> On 26 Apr 2017, at 01:13, Jonathan Schleifer <[email protected]> 
> wrote:
> 
> Since I've noticed that a lot of people recommend using nonatomic on pretty 
> much everything, I decided to write a little blog post about the side-effects 
> that nonatomic has that most people are unaware of. I thought it might be 
> interesting to some people here: https://webkeks.org/blog/?71
> 
> Feedback and opinions welcome :).
> 
> --
> Jonathan
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Objc-language mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/objc-language/tuparev%40mac.com
> 
> This email sent to [email protected]



Georg Tuparev
Tuparev Technologies
Mobile: +31-6-55798196 NL
Mobile: +359-8-99188251 BG
Twitter: @tuparev
www.tuparev.com





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to