Re: NSRunningApplication executableURL issue in Swift
Re: NSRunningApplication executableURL issue in Swift
- Subject: Re: NSRunningApplication executableURL issue in Swift
- From: Quincey Morris <email@hidden>
- Date: Wed, 11 Mar 2015 06:07:30 +0000
On Mar 10, 2015, at 22:57 , email@hidden wrote:
>
> This is one extra thing you have to really get used to with Swift. You learn Swift, then learn that it effectively requires some constant special handling for NSObject's descendants.
> If you're using the frameworks that's a lot of optionals and implicitly unwrapped optionals.
It’s not the optionals that are the problem, nor the implicit unwrapping. Those things are just the symptoms in this case.
The problem I was referring to was implicit forced downcasting. It seems so arbitrary — both the fact that it downcasts without provocation, and the (apparent, potential) randomness of what it downcasts to.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden