Skip to content

Commit

Permalink
Remove outdated swift example
Browse files Browse the repository at this point in the history
Show example case
  • Loading branch information
keith committed Dec 10, 2014
1 parent d3d71a7 commit 6696ae5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions style/samples/Swift.swift
Expand Up @@ -35,15 +35,10 @@ if let definitely = maybe {
}

// If the API you are using has implicit unwrapping you should still use if-let
func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell! {
if let index = indexPath {
if let table = tableView {
let cell = table.dequeue....
return cell;
}
func someUnauditedAPI(thing: String!) {
if let string = thing {
println(string)
}

return .None
}

// Enums --------------------------------------------------------------
Expand Down

0 comments on commit 6696ae5

Please sign in to comment.