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

Commit

Permalink
Update to Swift 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Mar 22, 2016
1 parent dbfa02d commit d29951d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Library/Core/ReuseIdentifierProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Foundation
/// Reuse identifier protocol
public protocol ReuseIdentifierType: IdentifierType {
/// Type of this reuseable
typealias ReusableType
associatedtype ReusableType
}

/// Reuse identifier
Expand Down
2 changes: 1 addition & 1 deletion Library/Core/StoryboardResource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Library/Core/StoryboardViewControllerResource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Foundation

public protocol StoryboardViewControllerResourceType: IdentifierType {
typealias ViewControllerType
associatedtype ViewControllerType
}

public struct StoryboardViewControllerResource<ViewController>: StoryboardViewControllerResourceType {
Expand Down

0 comments on commit d29951d

Please sign in to comment.