Created
December 13, 2018 15:53
-
-
Save HassanElDesouky/048f7bf740c3a53e005b3dfec60a2317 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
// Override point for customization after application launch. | |
window = UIWindow(frame: UIScreen.main.bounds) | |
window?.makeKeyAndVisible() | |
let layout = UICollectionViewFlowLayout() | |
let mainVC = ViewController(collectionViewLayout: layout) | |
window?.rootViewController = UINavigationController(rootViewController: mainVC) | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment