change log + comments
This commit is contained in:
parent
0c27f3b81d
commit
fc591bba0c
|
|
@ -1,4 +1,8 @@
|
|||
# Changelog
|
||||
### 0.7.8
|
||||
- **Update**: Rename setToCenter(withInsets:) to pintToSuperview(withInsets:excluding:)
|
||||
- **Update**: Added parameter "edges" with label "excluding" to aforementioned method"
|
||||
|
||||
### 0.7.7
|
||||
- **Fix**: Fix doubling separator line issue
|
||||
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ public extension UIView {
|
|||
Place and fix view to parent view's center with insets
|
||||
|
||||
- parameter insets: desired view insets, by default is zero
|
||||
- parameter edges: edges to which no constraints are needed
|
||||
*/
|
||||
func pinToSuperview(wtihInsets insets: UIEdgeInsets = .zero, excluding edges: UIRectEdge = []) {
|
||||
guard let superview = superview else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue