Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hemangshah committed Oct 26, 2017
2 parents 43cf3f0 + 1329e75 commit dbea829
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ A lightweight customized tabbar view.
//Create Custom Tabs
let t1 = HHTabButton.init(withTitle: "Calendar", tabImage: UIImage.init(named: "Calendar")!, index: 0)
t1.titleLabel?.font = tabFont
t1.setBackgroundColor(color: defaultTabColor, forState: .normal)
t1.setBackgroundColor(color: selectedTabColor, forState: .selected)
t1.setHHTabBackgroundColor(color: defaultTabColor, forState: .normal)
t1.setHHTabBackgroundColor(color: selectedTabColor, forState: .selected)
let t2 = HHTabButton.init(withTitle: "Refresh", tabImage: UIImage.init(named: "Refresh")!, index: 1)
t2.titleLabel?.font = tabFont
t2.setBackgroundColor(color: defaultTabColor, forState: .normal)
t2.setBackgroundColor(color: selectedTabColor, forState: .selected)
t2.setHHTabBackgroundColor(color: defaultTabColor, forState: .normal)
t2.setHHTabBackgroundColor(color: selectedTabColor, forState: .selected)
//Note: As HHTabButton are subclassed of UIButton so you can modify it as much as possible.
Expand Down

0 comments on commit dbea829

Please sign in to comment.