• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Instantiate NSString from NSURL in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Instantiate NSString from NSURL in Swift
      • From: Quincey Morris <email@hidden>
References: 
 >Instantiate NSString from NSURL in Swift (From: Juanjo Conti <email@hidden>)
 >Re: Instantiate NSString from NSURL in Swift (From: Kyle Sluder <email@hidden>)
 >Re: Instantiate NSString from NSURL in Swift (From: Marco S Hyman <email@hidden>)
 >Re: Instantiate NSString from NSURL in Swift (From: Quincey Morris <email@hidden>)
 >Re: Instantiate NSString from NSURL in Swift (From: Marco S Hyman <email@hidden>)

  • Prev by Date: Re: Instantiate NSString from NSURL in Swift
  • Next by Date: Re: Instantiate NSString from NSURL in Swift
  • Previous by thread: Re: Instantiate NSString from NSURL in Swift
  • Next by thread: Re: Instantiate NSString from NSURL in Swift
  • Index(es):
    • Date
    • Thread