AppDelegate: Add comments for window property.

This commit is contained in:
SBiOSoftWhare
2020-09-04 12:24:36 +02:00
parent ef293b2154
commit c43c93bdc5
+7 -2
View File
@@ -22,13 +22,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// MARK: - Properties
var window: UIWindow?
// MARK: Private
private var legacyAppDelegate: LegacyAppDelegate {
return AppDelegate.theDelegate()
}
// MARK: - Public
// MARK: Public
/// Call the Riot legacy AppDelegate
@objc class func theDelegate() -> LegacyAppDelegate {
@@ -38,6 +38,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
return legacyAppDelegate
}
// UIApplicationDelegate properties
/// Main application window
var window: UIWindow?
// MARK: - UIApplicationDelegate
// MARK: Life cycle