Prechádzať zdrojové kódy

Remove unnecessary cast

Syo Ikeda 10 rokov pred
rodič
commit
b8a5d47ac9

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

@@ -51,7 +51,7 @@ class AccountsViewController: UITableViewController {
     }
     }
     
     
     override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
     override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
-        let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! UITableViewCell
+        let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) 
         
         
         let services = Array(itemsGroupedByService!.keys)
         let services = Array(itemsGroupedByService!.keys)
         let service = services[indexPath.section]
         let service = services[indexPath.section]