Neon
Neon copied to clipboard
Use Intrinsic Size When Anchoring
Most elements (like UILabel) have an intrinsicContentSize. Is it possible to extend Neon to use this automatically?
But it already does that. Just use AutoWidth or AutoHeight for the views that have an intrinsic size.
E.g.:
imageView.anchorToEdge(.top, padding: 20, width: AutoWidth, height: AutoHeight)