StackViewSeparator 0.1.3

StackViewSeparator 0.1.3

Maintained by Baris Atamer.




  • By
  • Baris Atamer

StackViewSeparator

CI Status Version License Platform

demo

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

StackViewSeparator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'StackViewSeparator'

Storyboard

Thickness, Corner Radius, Percent, Color can be set

Code

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 

Author

Baris Atamer, [email protected]

License

StackViewSeparator is available under the MIT license. See the LICENSE file for more info.