Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Commit 8639732

Browse files
committedJan 4, 2017
Formatting
1 parent 1617b75 commit 8639732

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎DemoSwift/AppDelegate.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
88
let window = UIWindow(frame: UIScreen.main.bounds)
99

1010
return window
11-
}()
11+
}()
1212

1313
var dataStack: DATAStack = {
1414
let dataStack = DATAStack(modelName: "DemoSwift")
1515

1616
return dataStack
17-
}()
17+
}()
1818

1919
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
2020
if let window = self.window {

‎DemoSwift/ViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ViewController: UITableViewController {
1212

1313
let dataSource = DATASource(tableView: self.tableView, cellIdentifier: "Cell", fetchRequest: request, mainContext: self.dataStack.mainContext, configuration: { cell, item, indexPath in
1414
if let name = item.value(forKey: "name") as? String, let createdDate = item.value(forKey: "createdDate") as? NSDate {
15-
cell.textLabel?.text = name + " - " + createdDate.description
15+
cell.textLabel?.text = name + " - " + createdDate.description
1616
}
1717
})
1818

‎Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
import PackageDescription
2525

2626
let package = Package(
27-
name: "DATAStack"
27+
name: "DATAStack"
2828
)

0 commit comments

Comments
 (0)
This repository has been archived.