Skip to content

Instantly share code, notes, and snippets.

@eastari
Created September 21, 2017 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eastari/add608659bc0f47b14909054a3ced662 to your computer and use it in GitHub Desktop.
Save eastari/add608659bc0f47b14909054a3ced662 to your computer and use it in GitHub Desktop.
...
let isPhone = UIDevice.current.userInterfaceIdiom == .phone ? true : false
...
class RootRouter {
var panelScreen : PanelModuleInput?
func setupRouter(window: UIWindow) {
panelScreen = PanelAssembly.createModule()
panelScreen?.present(fromWindow: window)
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment