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.
23 lines
634 B
23 lines
634 B
![]()
2 years ago
|
//
|
||
|
// StoryboardResourceWithInitialController+UIKit.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
|
||
|
import UIKit
|
||
|
|
||
|
public extension StoryboardResourceWithInitialControllerType {
|
||
|
/**
|
||
|
Instantiates and returns the initial view controller in the view controller graph.
|
||
|
|
||
|
- returns: The initial view controller in the storyboard.
|
||
|
*/
|
||
|
func instantiateInitialViewController() -> InitialController? {
|
||
|
return UIStoryboard(resource: self).instantiateInitialViewController() as? InitialController
|
||
|
}
|
||
|
}
|