mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Id -> ID renaming.
This commit is contained in:
@@ -34,9 +34,9 @@ extension UIStoryboard {
|
||||
|
||||
func instantiateController<T>(ofType type: T.Type = T.self) -> T where T: UIViewController {
|
||||
|
||||
let storyboardId = String(describing: type)
|
||||
guard let viewController = instantiateViewController(withIdentifier: storyboardId) as? T else {
|
||||
print("Unable to load view with Scene Identifier: \(storyboardId)")
|
||||
let storyboardID = String(describing: type)
|
||||
guard let viewController = instantiateViewController(withIdentifier: storyboardID) as? T else {
|
||||
print("Unable to load view with Scene Identifier: \(storyboardID)")
|
||||
fatalError()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user