We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7eb6523 + 3b2a9d5 commit a925d9bCopy full SHA for a925d9b
Sources/Stevia/Stevia+Center.swift
@@ -24,7 +24,7 @@ public extension UIView {
24
@discardableResult
25
func centerInContainer() -> Self {
26
if let spv = superview {
27
- alignCenter(self, with: spv)
+ Stevia.alignCenter(self, with: spv)
28
}
29
return self
30
Sources/Stevia/Stevia+Constraints.swift
@@ -10,7 +10,7 @@
10
import UIKit
11
12
public class SteviaLayoutConstraint: NSLayoutConstraint {
13
- public static var defaultPriority: Float = UILayoutPriority.defaultHigh + 1
+ public static var defaultPriority: Float = UILayoutPriority.defaultHigh.rawValue + 1
14
15
16
0 commit comments