21 lines
460 B
Swift
21 lines
460 B
Swift
//
|
|
// SirenViewController.swift
|
|
// Siren
|
|
//
|
|
// Created by Arthur Sabintsev on 3/17/17.
|
|
// Copyright © 2017 Sabintsev iOS Projects. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
/// `UIViewController` Extension for Siren
|
|
final class SirenViewController: UIViewController {
|
|
/// This creates a retain cycle.
|
|
/// This is needed to retain the UIAlertController in iOS 13.0+
|
|
var retainedWindow: UIWindow?
|
|
|
|
deinit {
|
|
retainedWindow = nil
|
|
}
|
|
}
|