[F] Refresh table when alarms are changed

This commit is contained in:
Hykilpikonna
2021-01-17 17:10:58 -05:00
parent a57ab9c2f8
commit 26752f607e
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -3,12 +3,14 @@ import UIKit
class AlarmViewController: UIViewController
{
@IBOutlet weak var table: UITableView!
static var staticTable: UITableView?
override func viewDidLoad()
{
super.viewDidLoad()
// Assign table delegate and data source
AlarmViewController.staticTable = table
table.delegate = self
table.dataSource = self
}