Monday, October 26, 2015

Swift, UIKit - Instantiating UIViewController from code by using storyboard identifier

Custom UIViewController's may be instantiated from storyboard by storyboard name and storyboard identifier.

For ease of use, you can add and implement IBInstantiatable protocol as follows :





No comments:

Post a Comment