Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

Commit 10fe288

Browse files
author
Chris
committed
Swift 3.1 and added @escaping to PageLoader
1 parent f11fa09 commit 10fe288

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sourcery/Sourcery.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@
446446
PRODUCT_NAME = Sourcery;
447447
SKIP_INSTALL = YES;
448448
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
449-
SWIFT_VERSION = 3.0.1;
449+
SWIFT_VERSION = 3.0;
450450
};
451451
name = Debug;
452452
};
@@ -466,7 +466,7 @@
466466
PRODUCT_BUNDLE_IDENTIFIER = com.nodes.Sourcery;
467467
PRODUCT_NAME = Sourcery;
468468
SKIP_INSTALL = YES;
469-
SWIFT_VERSION = 3.0.1;
469+
SWIFT_VERSION = 3.0;
470470
};
471471
name = Release;
472472
};

Sourcery/Sourcery/Classes/Sourcery/PagedSourcery.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import PagedArray
1111

1212
open class PagedSourcery<DataType, CellType: TableViewPresentable>: NSObject, TableController {
1313

14-
public typealias PageLoader = ((_ page: Int, _ operationQueue: OperationQueue, _ completion: ((_ totalCount: Int, _ data: [DataType]) -> Void)) -> Void)
14+
public typealias PageLoader = ((_ page: Int, _ operationQueue: OperationQueue, _ completion: @escaping ((_ totalCount: Int, _ data: [DataType]) -> Void)) -> Void)
1515
public typealias SelectionHandler = ((_ index: Int, _ object: DataType) -> Void)
1616
public typealias CellConfigurator = ((_ cell: CellType, _ index: Int, _ object: DataType) -> Void)
1717
public typealias HeaderConfigurator = ((UITableViewHeaderFooterView?) -> Void)

0 commit comments

Comments
 (0)