Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 0c7f875

Browse files
committed
Merge pull request #5 from mac-cain13/feature/swift-2.2
Update to Swift 2.2
2 parents dbfa02d + d29951d commit 0c7f875

4 files changed

+6
-6
lines changed

Diff for: Library/Core/ReuseIdentifierProtocol.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111
/// Reuse identifier protocol
1212
public protocol ReuseIdentifierType: IdentifierType {
1313
/// Type of this reuseable
14-
typealias ReusableType
14+
associatedtype ReusableType
1515
}
1616

1717
/// Reuse identifier

Diff for: Library/Core/StoryboardResource.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ public protocol StoryboardResourceType {
2020
public protocol StoryboardResourceWithInitialControllerType: StoryboardResourceType {
2121

2222
/// Type of the inital controller
23-
typealias InitialController
23+
associatedtype InitialController
2424
}

Diff for: Library/Core/StoryboardSegueIdentifierProtocol.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import Foundation
1111
/// Segue identifier protocol
1212
public protocol StoryboardSegueIdentifierType: IdentifierType {
1313
/// Type of the segue itself
14-
typealias SegueType
14+
associatedtype SegueType
1515

1616
/// Type of the source view controller
17-
typealias SourceType
17+
associatedtype SourceType
1818

1919
/// Type of the destination view controller
20-
typealias DestinationType
20+
associatedtype DestinationType
2121
}
2222

2323
/// Segue identifier

Diff for: Library/Core/StoryboardViewControllerResource.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import Foundation
1010

1111
public protocol StoryboardViewControllerResourceType: IdentifierType {
12-
typealias ViewControllerType
12+
associatedtype ViewControllerType
1313
}
1414

1515
public struct StoryboardViewControllerResource<ViewController>: StoryboardViewControllerResourceType {

0 commit comments

Comments
 (0)