<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ch3cooh393</author_name>
  <author_url>https://blog.hatena.ne.jp/ch3cooh393/</author_url>
  <blog_title>酢ろぐ！</blog_title>
  <blog_url>https://blog.ch3cooh.jp/</blog_url>
  <categories>
    <anon>開発</anon>
    <anon>開発-Android</anon>
  </categories>
  <description>去年はSwiftを書いていて、久しぶりにKotlinに触ったら、Kotlin*1の書き方を忘れていたので、パッと思い出せるようにSwiftからKotlinへの移植時に使える置き換えチートシートを備忘録として残しておきます。 思い出したら追加していく。 範囲 for 文 0から3までの場合 for (i in 0 ... 3) { } for (i in 0 .. 3) { } 0から2までの場合 for (i in 0 ..&lt; 3) { } for (i in 0 until 3) { } if let 句 if let piyo = hoge { label.text = piyo } el…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ch3cooh.jp%2Fentry%2Fandroid%2Fswift_to_kotlin_cheat_sheet&quot; title=&quot;SwiftからKotlinへの置き換え - 酢ろぐ！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-18 14:05:55</published>
  <title>SwiftからKotlinへの置き換え</title>
  <type>rich</type>
  <url>https://blog.ch3cooh.jp/entry/android/swift_to_kotlin_cheat_sheet</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
