Skip to content

Commit

Permalink
Remove self
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Dec 13, 2015
1 parent 61e4f21 commit 69b99c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AppNet/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}

func applicationDidEnterBackground(application: UIApplication) {
self.dataStack.persistWithCompletion(nil)
dataStack.persistWithCompletion(nil)
}

func applicationWillTerminate(application: UIApplication) {
self.dataStack.persistWithCompletion(nil)
dataStack.persistWithCompletion(nil)
}
}

4 changes: 2 additions & 2 deletions AppNet/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ extension ViewController {
}

override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = self.tableView.dequeueReusableCellWithIdentifier(CellIdentifier)
let data = self.items[indexPath.row]
let cell = tableView.dequeueReusableCellWithIdentifier(CellIdentifier)
let data = items[indexPath.row]
cell?.textLabel?.text = data.text

// Workaround: The proper value of `numberOfLines` should be 0
Expand Down

0 comments on commit 69b99c4

Please sign in to comment.