Just want to point out one important thing which caused this to crash. You now need to explicitly declare Dictionary of views (line 137) like this: let views: [String: UIView]. This caused me a serious headache for a while 😁
Thanks @xergic. Yes the declaration is necessary. It happens for the change implicitly unwrapped optionals. The inferred type is now [String: UIView?].
Converted sources to Swift 3, mostly renaming...
Just want to point out one important thing which caused this to crash. You now need to explicitly declare Dictionary of views (line 137) like this:
let views: [String: UIView]
. This caused me a serious headache for a while 😁