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

Update to Swift 2.2 #5

Merged
merged 1 commit into from
Mar 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Library/Core/ReuseIdentifierProtocol.swift
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ import Foundation
/// Reuse identifier protocol
public protocol ReuseIdentifierType: IdentifierType {
/// Type of this reuseable
typealias ReusableType
associatedtype ReusableType
}

/// Reuse identifier
2 changes: 1 addition & 1 deletion Library/Core/StoryboardResource.swift
Original file line number Diff line number Diff line change
@@ -20,5 +20,5 @@ public protocol StoryboardResourceType {
public protocol StoryboardResourceWithInitialControllerType: StoryboardResourceType {

/// Type of the inital controller
typealias InitialController
associatedtype InitialController
}
6 changes: 3 additions & 3 deletions Library/Core/StoryboardSegueIdentifierProtocol.swift
Original file line number Diff line number Diff line change
@@ -11,13 +11,13 @@ import Foundation
/// Segue identifier protocol
public protocol StoryboardSegueIdentifierType: IdentifierType {
/// Type of the segue itself
typealias SegueType
associatedtype SegueType

/// Type of the source view controller
typealias SourceType
associatedtype SourceType

/// Type of the destination view controller
typealias DestinationType
associatedtype DestinationType
}

/// Segue identifier
2 changes: 1 addition & 1 deletion Library/Core/StoryboardViewControllerResource.swift
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
import Foundation

public protocol StoryboardViewControllerResourceType: IdentifierType {
typealias ViewControllerType
associatedtype ViewControllerType
}

public struct StoryboardViewControllerResource<ViewController>: StoryboardViewControllerResourceType {