Skip to content

Commit c9e8680

Browse files
Support Swift 1.2
1 parent 425008e commit c9e8680

2 files changed

Lines changed: 160 additions & 158 deletions

File tree

Examples/Example-iOS/Example-iOS/AccountsViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class AccountsViewController: UITableViewController {
5151
}
5252

5353
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
54-
let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as UITableViewCell
54+
let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! UITableViewCell
5555

5656
let services = Array(itemsGroupedByService!.keys)
5757
let service = services[indexPath.section]
@@ -73,7 +73,7 @@ class AccountsViewController: UITableViewController {
7373
let items = keychain.allItems()
7474

7575
let item = items[indexPath.row]
76-
let key = item["key"] as String
76+
let key = item["key"] as! String
7777

7878
keychain[key] = nil
7979

0 commit comments

Comments
 (0)