         get {
             return self.view.contentCompressionResistancePriority(for: .vertical).rawValue
         }
-        set {
+        nonmutating set {
             self.view.setContentCompressionResistancePriority(LayoutPriority(rawValue: newValue), for: .vertical)
         }
     }

        get {
            return self.view.contentHuggingPriority(for: .vertical).rawValue
        }
        set {
            self.view.setContentHuggingPriority(LayoutPriority(rawValue: newValue), for: .vertical)
        }
    }

        get {
            return self.view.contentCompressionResistancePriority(for: .horizontal).rawValue
        }
        nonmutating set {
            self.view.setContentCompressionResistancePriority(LayoutPriority(rawValue: newValue), for: .horizontal)
        }
    }
