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

2 years ago
  1. //
  2. // StoryboardResource.swift
  3. // R.swift.Library
  4. //
  5. // Created by Mathijs Kadijk on 07-01-16.
  6. // From: https://github.com/mac-cain13/R.swift.Library
  7. // License: MIT License
  8. //
  9. import Foundation
  10. public protocol StoryboardResourceType {
  11. /// Bundle this storyboard is in
  12. var bundle: Bundle { get }
  13. /// Name of the storyboard file on disk
  14. var name: String { get }
  15. }
  16. public protocol StoryboardResourceWithInitialControllerType: StoryboardResourceType {
  17. /// Type of the inital controller
  18. associatedtype InitialController
  19. }