Update README for borders

This commit is contained in:
Gunay Mert Karadogan 2016-04-21 19:33:08 +02:00
parent 31d50f82f7
commit 8631f60be1
2 changed files with 12 additions and 4 deletions

2
.gitignore vendored
View File

@ -31,3 +31,5 @@ DerivedData
# Carthage/Checkouts
Carthage/Build
.DS_Store

View File

@ -71,6 +71,12 @@ var labelFont = UIFont(name: "AvenirNext-Bold", size: 25.0)
/// Corner radius of the stepper's layer. Defaults to 4.0.
var cornerRadius: CGFloat = 4.0
/// Border width of the stepper and middle label's layer. Defaults to 0.0.
var borderWidth: CGFloat = 0.0
/// Color of the border of the stepper and middle label's layer. Defaults to clear color.
var borderColor: UIColor = UIColor.clearColor()
/// Percentage of the middle label's width. Must be between 0 and 1. Defaults to 0.5. Be sure that it is wide enough to show the value.
var labelWidthWeight: CGFloat = 0.5