add UIAppearance to README.md

This commit is contained in:
Yonat Sharon 2019-04-26 08:34:49 +03:00
parent f0c54003d4
commit 383d951c06
1 changed files with 2 additions and 1 deletions

View File

@ -22,8 +22,9 @@ batteryView.lowThreshold = 25 // battery fill becomes red if level is below this
## Changing Appearance
**Colors:**
The properties below can be set in Interface Builder, in code, or through a UIAppearance proxy (e.g., `BatteryView.appearance().borderColor= .gray`).
**Colors:**
```swift
batteryView.borderColor = .darkGray