ROMView
public extension ROMView
                - 
                  
                  
Returns the default nib name for the receiver which is its class name.
Declaration
Swift
static var defaultNibName: String { get } - 
                  
                  
Returns the default reuse identifier for the receiver which is its class name.
Declaration
Swift
static var defaultReuseIdentifier: String { get } 
- 
                  
                  
Returns a set of layout constraints that will pin the receiver to
edgesand/orsafeAreaLayoutGuideEdgesof its superview withedgeInsets, the providedpriority, and optionallyactivatethe constraints before returning.Declaration
Swift
@discardableResult func pinToSuperviewEdges(_ edges: NSDirectionalRectEdge = .all, safeAreaLayoutGuideEdges: NSDirectionalRectEdge = [], edgeInsets: NSDirectionalEdgeInsets? = nil, priority: ROMLayoutConstraintPriority = .required - 1.0, activate: Bool = true) -> [NSLayoutConstraint]Parameters
edgesThe edges to pin to, the default is
NSDirectionalRectEdge.allsafeAreaLayoutGuideEdgesThe safe area layout guide edges to pin to, takes priority over
edgesedgeInsetsThe edge insets to inset the receiver from the edges of its superview
priorityThe layout constraint priority to apply to the returned constraints, the default is
ROMLayoutConstraintPriority.required - 1.0activateWhether to activate the layout constraints before returning them
Return Value
The layout constraints
 
- 
                  
                  
Sets the receiver’s
translatesAutoresizingMaskIntoConstraintsproperty tovalueand returns the receiver.Declaration
Swift
func setTranslatesAutoresizingMaskIntoConstraints(_ value: Bool = false) -> SelfParameters
valueThe desired
translatesAutoresizingMaskIntoConstraintsvalueReturn Value
The receiver
 
            View on GitHub
          
            Install in Dash
          
      ROMView Extension Reference