Krisiacik / ImageViewer

An image viewer à la Twitter
MIT License
2.53k stars 385 forks source link

Change the way current window is retrieved #217

Closed woko666 closed 5 years ago

woko666 commented 5 years ago

The current way of getting application window crashes on nil exception in Xcode 10. UIApplication.shared.keyWindow seems to be the standard way to get the current window in swift