To run the example project, clone the repo, and run pod install
from the Example directory first.
StackViewSeparator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'StackViewSeparator'
Thickness, Corner Radius, Percent, Color can be set
import StackViewSeparator
let stackView = UIStackView(frame: CGRect(x: 0, y: 0, width: 100, height: 100))
...
...
stackView.separatorColor = .blue
stackView.separatorThickness = 3
stackView.separatorCornerRadius = 1
stackView.separatorPercent = 0.7 // 0...1
Baris Atamer, [email protected]
StackViewSeparator is available under the MIT license. See the LICENSE file for more info.