CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

Ariel Elkin

1pod

PaddedView

PaddedView is a UIView subclass that sets its layoutMargins to UIEdgeInsetsZero if its content's height or width is zero. This makes it easy to create views that need to show padding, but which need the padding to disappear when their content is nil.

License: MIT

  • Swift