Skip to content

Commit

Permalink
Remove unwanted free function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu committed Feb 12, 2016
1 parent c1d528c commit 27b3627
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Stevia/Stevia/Stevia/Source/Stevia+Fill.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,4 @@ public extension UIView {
}
return self
}
}

public func fillHorizontally(v:UIView) {
if let spv = v.superview {
let c1 = constraint(item: v, attribute: .Left, toItem: spv)
let c2 = constraint(item: v, attribute: .Right, toItem: spv)
spv.addConstraints([c1,c2])
}
}

0 comments on commit 27b3627

Please sign in to comment.