Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
5分でわかる Swift 5 の Raw Text
Search
Tsukasa.K
April 10, 2019
Technology
3
2.6k
5分でわかる Swift 5 の Raw Text
Tsukasa.K
April 10, 2019
Tweet
Share
Other Decks in Technology
See All in Technology
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
560
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
390
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
260
アプリエンジニアのためのGraphQL入門.pdf
spycwolf
0
110
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
140
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
710
ノーコードデータ分析ツールで体験する時系列データ分析超入門
negi111111
0
430
Featured
See All Featured
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Designing for humans not robots
tammielis
250
25k
Building Adaptive Systems
keathley
38
2.3k
Practical Orchestrator
shlominoach
186
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Building an army of robots
kneath
302
43k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Ruby is Unlike a Banana
tanoku
97
11k
4 Signs Your Business is Dying
shpigford
180
21k
Transcript
1 5ͰΘ͔Δ Swift 5 ͷ Raw Text ຊܦࡁ৽ฉࣾɹখٶࢁɹ࢘
2 Tsukasa Komiyama ຊܦࡁ৽ฉࣾͷiOSΤϯδχΞ ిࢠ൛ΞϓϦɼࢴ໘ϏϡʔΞʔΞϓϦͷ։ൃ ೖ͔ࣾͨ͠Γ
3 Swift 5 Ͱ Raw Text ͕ಋೖ͞Ε·ͨ͠
4 Raw Text ͱ • ΤεέʔϓจࣈΛهࡌͤͣʹɺจࣈྻΛ ͦͷ··ॻ͚Δ • ͨͱ͑ɺ ʮ\
ʯΛهࡌ͠ͳͯ͘ྑ͘ͳΔ
5 Raw Text Ͱخ͍͜͠ͱ • จࣈྻΛίϐϖͯ͠ɺଞͰͦͷ··͑Δ • Մಡੑͷ্
6 จࣈྻΛ # Ͱғ͏ ޡղΛڪΕͣʹݴ͏ͱɾɾɾ ͲͷΑ͏ʹॻ͘ͷ͔
7 ࣮ྫ • ୯७ͳ͍ํ ΤεέʔϓจࣈͰ͋Δ \ ͕ফ͑·ͨ͠
8 มల։ɾΤεέʔϓ • มల։ • Τεέʔϓ ʮ\ʯΛ Raw Text Ͱ
ʮ\#ʯͱॻ͘
9 ͜ͷ߹ʁ |)BTIUBHJTPUFNBDIJ@TXJGU} ʮ#ʯͰғ͏͚ͩͳΜͰ͠ΐʁ
10 ͜ͷ߹ʁ |)BTIUBHJTPUFNBDIJ@TXJGU} ʮ#ʯͰғ͏͚ͩͳΜͰ͠ΐʁ ίϯύΠϧΤϥʔ
11 ͜ͷ߹ʁ Τεέʔϓͯ͠ Raw Text ͱɾɾ |)BTIUBHJTPUFNBDIJ@TXJGU}
12 Swiftyͳղܾํ๏ ʮ#ʯΛ૿͢
13 # Λ૿ͨ͠߹ มల։ɾΤεέʔϓͷ # ͷ૿͑Δ
14 ͓͢͢Ίͷ͍ॴ • ϝλϓϩάϥϛϯά • ίʔυΛੜ͢Δίʔυ • ਖ਼نදݱ • \
ͩΒ͚ʹͳΓ͕ͪ • json xml Λͦͷ··ίʔυʹॻ͘ • Windowsͷpath
15 #####"͋Γ͕ͱ͏͍͟͝·ͨ͠"##### ࢀߟ • https://github.com/apple/swift-evolution/blob/master/proposals/ 0200-raw-string-escaping.md
16 ͓·͚
17 ͓·͚