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
541 B
25 lines
541 B
//
|
|
// StoryboardResource.swift
|
|
// R.swift.Library
|
|
//
|
|
// Created by Mathijs Kadijk on 07-01-16.
|
|
// From: https://github.com/mac-cain13/R.swift.Library
|
|
// License: MIT License
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol StoryboardResourceType {
|
|
|
|
/// Bundle this storyboard is in
|
|
var bundle: Bundle { get }
|
|
|
|
/// Name of the storyboard file on disk
|
|
var name: String { get }
|
|
}
|
|
|
|
public protocol StoryboardResourceWithInitialControllerType: StoryboardResourceType {
|
|
|
|
/// Type of the inital controller
|
|
associatedtype InitialController
|
|
}
|