FUIBaseFixedMarginsView
open class FUIBaseFixedMarginsView : UIView
Base UIView
subclass, implementing the fixedLayoutMargins
feature.
-
Enhancement to
layoutMargins
, which allows the view topreserve
some of the superview’s layout margins, but fix others. Expecially relevant for subviews ofUITableViewCell.contentView
, where the horizontal margins should be preserved, but a shorter top or bottom margin is desired than that set by the table view.Declaration
Swift
public var fixedLayoutMargins: UIEdgeInsets { get set }