You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does, but I'd clarify a bit. The point is that Swift initializers cannot return an optional type — yet imported initialisers from Objective-C classes might return nil.
I'd also mention the workaround — you can cheat the type checking system if you assign the returned (supposedly non-optional value) to an optional variable.
https://devforums.apple.com/message/1028133#1028133
anyone wants to write up? ;)
The text was updated successfully, but these errors were encountered: