示例#1
0
 public static T Instantiate <T> (this UNStoryboard storyboard, string name)
     where T : UNViewController
 => storyboard.InstantiateViewController(name) as T;
示例#2
0
 public static UNViewController Instantiate(this UNStoryboard storyboard, string name)
 => storyboard.InstantiateViewController(name) as UNViewController;
示例#3
0
 public static T Instantiate <T> (this UNStoryboard storyboard)
     where T : UNViewController
 => storyboard.InstantiateViewController(typeof(T).Name) as T;