Here's to the crazy ones. The misfits. The troublemakers. The Swifters.

Viewing entries tagged
intrinsic content size

Auto Layout Magic: Content Sizing Priorities

Auto Layout can be a bit of a pain sometimes. Luckily enough, there are a few of us who can more or less deal with it when we need to. Constraints are easy enough to understand but what about the other things? What the hell is Content Hugging and Content Compression Resistance Priorites? Here I'm going to take a stab at it and see if I can learn you a little somethin'.