Let notification open domain

This commit is contained in:
relikd
2020-07-27 19:06:44 +02:00
parent 01523b250f
commit e398ac8bcd
5 changed files with 21 additions and 7 deletions

View File

@@ -36,3 +36,9 @@ extension UIEdgeInsets {
self.init(top: top ?? all, left: left ?? all, bottom: bottom ?? all, right: right ?? all)
}
}
extension UIStoryboard {
func load<T: UIViewController>(_ identifier: String) -> T {
instantiateViewController(withIdentifier: identifier) as! T
}
}