Re: Instantiate NSString from NSURL in Swift
Re: Instantiate NSString from NSURL in Swift
- Subject: Re: Instantiate NSString from NSURL in Swift
- From: Kyle Sluder <email@hidden>
- Date: Mon, 23 Feb 2015 13:52:40 -0600
On Mon, Feb 23, 2015, at 01:48 PM, Marco S Hyman wrote:
> lowerCaseString is a non optional property. Therefore it makes no sense
> to
> write someString.lowercaseString? or someString.lowercaseString!
It's chained through an optional access though. So the type of
foo?.lowercaseString is String?.
And either way, the fixit diagnostic is broken.
--Kyle
_______________________________________________
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