Skip to content

Commit

Permalink
Readme and example updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdvs committed Sep 7, 2016
1 parent c13adef commit 28b819d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TDBadgedCell grew out of the need for TableViewCell badges and the lack of them

***Note:*** *You can find the old Objective-C version on the [deprecetated-objective-c branch](https://github.com/tmdvs/TDBadgedCell/tree/deprecated-objective-c)*.

![Example Image](http://up.tmdvs.me/hOMo/d)
![Example Image](http://up.tmdvs.me/hOlw/d)

To set the content of your badge (String) simply do:

Expand Down
2 changes: 1 addition & 1 deletion TDBadgedCell/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class ViewController: UITableViewController {

let demoItems : [[String:String]] = [
["title" : "This is an example badge", "badge": "1"],
["title" : "This is a second example badge", "badge": "123"],
["title" : "A text badge", "badge": "Warning!"],
["title" : "Another text badge", "badge": "Danger!"],
["title" : "This is a second example badge", "badge": "25"],
]

override func viewDidLoad() {
Expand Down

0 comments on commit 28b819d

Please sign in to comment.