         contentView.addConstraint(
             NSLayoutConstraint(
                 item: view,
-                attribute: NSLayoutAttribute.centerY,
-                relatedBy: NSLayoutRelation.equal,
+                attribute: NSLayoutConstraint.Attribute.centerY,
+                relatedBy: NSLayoutConstraint.Relation.equal,
                 toItem: contentView,
-                attribute: NSLayoutAttribute.centerY,
+                attribute: NSLayoutConstraint.Attribute.centerY,
                 multiplier: 1,
                 constant: 0
             )

        contentView.addConstraints(
            NSLayoutConstraint.constraints(
                withVisualFormat: "V:|-0.0@highPriority-[v(>=height)]|",
                options: NSLayoutFormatOptions(rawValue: 0),
                metrics: metrics,
                views: binding
            )

        contentView.addConstraint(
            NSLayoutConstraint(
                item: view,
                attribute: NSLayoutConstraint.Attribute.centerX,
                relatedBy: NSLayoutConstraint.Relation.equal,
                toItem: contentView,
                attribute: NSLayoutConstraint.Attribute.centerX,
                multiplier: 1,
                constant: 0
            )
