Init View Controller For Framework Projects
Nov 12, 2017
How to init view controller from .xib file inside a framework project?
Init View Controller From Nib
Init UIViewController from the .xib file is a little bit different. nibBundle property is very important, need to get the bundle for framework and pass it in. Here is how you do it.
1 | // Assume project bundle id is com.example.bundle |
