mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-09 22:20:41 +00:00
* Search example with IGListKit * Cleanup * updated to use new class methods [ASIGListSectionControllerMethods]
28 lines
797 B
Swift
28 lines
797 B
Swift
//
|
|
// AppDelegate.swift
|
|
// RepoSearcher
|
|
//
|
|
// Created by Marvin Nazari on 2017-02-18.
|
|
// Copyright © 2017 Marvin Nazari. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
@UIApplicationMain
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
var window: UIWindow? = {
|
|
let window = UIWindow(frame: UIScreen.main.bounds)
|
|
window.backgroundColor = .white
|
|
return window
|
|
}()
|
|
|
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
|
|
// Override point for customization after application launch.
|
|
window?.rootViewController = UINavigationController(rootViewController: SearchViewController())
|
|
window?.makeKeyAndVisible()
|
|
|
|
return true
|
|
}
|
|
}
|
|
|