You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
645 B
25 lines
645 B
//
|
|
// StoryboardViewControllerResource.swift
|
|
// R.swift.Library
|
|
//
|
|
// Created by Mathijs Kadijk on 13-03-16.
|
|
// From: https://github.com/mac-cain13/R.swift.Library
|
|
// License: MIT License
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol StoryboardViewControllerResourceType: IdentifierType {
|
|
associatedtype ViewControllerType
|
|
}
|
|
|
|
public struct StoryboardViewControllerResource<ViewController>: StoryboardViewControllerResourceType {
|
|
public typealias ViewControllerType = ViewController
|
|
|
|
/// Storyboard identifier of this view controller
|
|
public let identifier: String
|
|
|
|
public init(identifier: String) {
|
|
self.identifier = identifier
|
|
}
|
|
}
|