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