For example: If you’re going to pin a view to a parent and match its bounds, there’s no reason to set “translatesAutoresize…” to false and crate custom constraints. The autoresize constraints will do that for you if you set the view’s frame to the parent’s bounds before adding it as a subview. Less code, same effect.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!