[swift-users] Class vs Structures

Maury Markowitz maury.markowitz at gmail.com
Fri Jun 30 17:41:21 CDT 2017


> On Jun 29, 2017, at 2:42 PM, Taylor Swift via swift-users <swift-users at swift.org> wrote:
> 
> When in doubt, go with a struct. Probably nineteen types out of twenty I write are structs.

The the 20th is likely when you're using one of Obj-C's features, like KVO.




More information about the swift-users mailing list