I just wanted a refresher - struts versus properties.

Alex Zavatone

We’ve all seen so many Swift references about when to use a struct as opposed to a class. But coming from Objective-C like lots of us, does anyone have any resources or guidelines for when and why to use structs over @properties?

It seems that there are very few guidelines on this front, making it pretty vague when when actually looking for reasons why we should choose one over the other.

The “just because it’s Swift” approach that people often go with sure isn’t a sensible reason.

Thanks in advance.
Alex Zavatone

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.