With Swift 5 Xcode suggest me to change things like:
NSLayoutFormatOptions to NSLayoutConstraint.FormatOptions.NSLayoutAttribute.centerX to NSLayoutConstraint.Attribute.centerXNSLayoutRelation.equal to NSLayoutConstraint.Relation.equalbytes: 4, alignedTo: 1 to byteCount: 4, alignment: 1
With
Swift 5
Xcode suggest me to change things like:NSLayoutFormatOptions
toNSLayoutConstraint.FormatOptions.
NSLayoutAttribute.centerX
toNSLayoutConstraint.Attribute.centerX
NSLayoutRelation.equal
toNSLayoutConstraint.Relation.equal
bytes: 4, alignedTo: 1
tobyteCount: 4, alignment: 1