FUIBaseFixedMarginsView
@MainActor
open class FUIBaseFixedMarginsView : UIView
Base UIView subclass, implementing the fixedLayoutMargins feature.
-
Enhancement to
directionalLayoutMargins, which allows the view topreservesome 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
@MainActor public var fixedDirectionalLayoutMargins: NSDirectionalEdgeInsets { get set } -
Workaround for the compile issue where empty initializer is not accessible in xcframework.
Declaration
Swift
@MainActor required public init()