Skip to content

스토리보드에 선언되어있는 ViewController를 가져오는 유틸

License

Notifications You must be signed in to change notification settings

wwwshe/ViewControllerUtil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViewControllerUtil

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

ViewControllerUtil is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ViewControllerUtil'

Usage

  1. StoryBoard -> ViewController -> Show the Identity Inspector -> Identity -> Storyboard Id Set ViewController FileName
  2. SourceCode
 let viewUtil = ViewControllerUtil()
 let controller = viewUtil.getViewController(target: ViewController.self)
 or
 let controller = viewUtil.getViewController(target: ViewController.self, name : "Main")

Author

jungwook, wwwshe1@nate.com

License

ViewControllerUtil is available under the MIT license. See the LICENSE file for more info.

About

스토리보드에 선언되어있는 ViewController를 가져오는 유틸

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published