Fix trivial typo.

This commit is contained in:
Yoshinori Sano 2015-09-29 14:13:42 +09:00
parent 30dc3b84af
commit 447a06d963
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ class GitHubSearchRepositoriesViewController: ViewController, UITableViewDelegat
return [SectionModel(model: "Repositories", items: repositories)]
}
dataSource.cellFactory = { (tv, ip, user: Repository) in
dataSource.cellFactory = { (tv, ip, repository: Repository) in
let cell = tv.dequeueReusableCellWithIdentifier("Cell")!
cell.textLabel?.text = user.name
cell.textLabel?.text = repository.name
return cell
}