Skip to content

Commit

Permalink
use Swift 1.1 casts for now
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTelezhkin committed Mar 16, 2015
1 parent d4dc3e8 commit ea23d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/TableViewFactory/Cells/NumberCell.swift
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ class NumberCell: UITableViewCell, DTModelTransfer {
@IBOutlet weak var label: UILabel!
func updateWithModel(model: AnyObject)
{
let number = model as! Int
let number = model as Int
label.text = number.description
}
}

0 comments on commit ea23d17

Please sign in to comment.