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.
 
 
 
 

22 lines
634 B

//
// 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
}
}