ricky 3daa5ac538 [ASPrimitiveTraitCollection] Fix ASPrimitiveTraitCollectionMakeDefault and implement containerSize (#1256)
With the changes to `ASPrimitiveTraitCollection` in e392f832f4 a new `ASPrimitiveTraitCollectionMakeDefault` was created. The new method didn’t give all values in an `ASPrimitiveTraitCollection` a default value (or initialize the struct with `{}`). This was causing fields like `userInterfaceIdiom`, `forceTouchCapability`, and `displayScale` to be filled with garbage, leading to `ASPrimitiveTraitCollectionIsEqualToASPrimitiveTraitCollection` to return `YES` when the trait collection hadn’t really changed.

It also looks like the getter `containerSize` was not implemented.
2018-11-28 08:56:08 -08:00
..
2018-10-29 07:35:45 -07:00
2018-11-03 12:32:15 -07:00
2018-10-29 16:07:50 -07:00
2018-11-21 08:30:22 -08:00
2018-11-21 08:30:22 -08:00
2018-11-21 08:30:22 -08:00
2018-11-21 08:30:22 -08:00
2018-11-21 08:30:22 -08:00