Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.43 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.43 KB

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.