Swift: Alternative string literal syntax without need to escape quotes

Originator:jiayong.ou
Number:rdar://17218261 Date Originated:07-Jun-2014 11:53 PM
Status:Duplicate Resolved:
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:
There should be a way to define string literals where quotation marks doesn't need to be escaped.

Steps to Reproduce:
1. Attempt to create a literal string with many quotation marks inside, like JSON input in a test

Expected Results:
Some way to specify the literal without littering it all up with backslashes

Actual Results:
Lost sanity to keep track of all those backslashes

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!