File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -121,54 +121,65 @@ extension UIView: StackKitCompatibleProvider { }
121121
122122extension StackKitCompatible where Base: UIView {
123123
124+ @discardableResult
124125 public func width( _ value: CGFloat ? ) -> Self {
125126 view. _width = value
126127 return self
127128 }
129+ @discardableResult
128130 public func height( _ value: CGFloat ? ) -> Self {
129131 view. _height = value
130132 return self
131133 }
132134
135+ @discardableResult
133136 public func maxWidth( _ value: CGFloat ? ) -> Self {
134137 view. _maxWidth = value
135138 return self
136139 }
140+ @discardableResult
137141 public func maxHeight( _ value: CGFloat ? ) -> Self {
138142 view. _maxHeight = value
139143 return self
140144 }
145+
146+ @discardableResult
141147 public func minWidth( _ value: CGFloat ? ) -> Self {
142148 view. _minWidth = value
143149 return self
144150 }
151+ @discardableResult
145152 public func minHeight( _ value: CGFloat ? ) -> Self {
146153 view. _minHeight = value
147154 return self
148155 }
149156
157+ @discardableResult
150158 public func size( _ length: CGFloat ) -> Self {
151159 view. _width = length
152160 view. _height = length
153161 return self
154162 }
155163
164+ @discardableResult
156165 public func size( _ width: CGFloat , _ height: CGFloat ) -> Self {
157166 view. _width = width
158167 view. _height = height
159168 return self
160169 }
161170
171+ @discardableResult
162172 public func size( _ size: CGSize ) -> Self {
163173 view. _width = size. width
164174 view. _height = size. height
165175 return self
166176 }
167-
177+ @ discardableResult
168178 public func sizeToFit( _ fitType: FitType = . content) -> Self {
169179 view. stackKitFitType = fitType
170180 return self
171181 }
182+ @discardableResult
172183 public func then( _ then: ( Base ) -> Void ) -> Self {
173184 then ( self . view)
174185 return self
You can’t perform that action at this time.
0 commit comments