<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizukinoko</author_name>
  <author_url>https://blog.hatena.ne.jp/mizukinoko/</author_url>
  <blog_title>キノコが何か作るブログ</blog_title>
  <blog_url>https://www.mizukinoko.com/</blog_url>
  <categories>
    <anon>swift</anon>
    <anon>プログラミングの勉強</anon>
  </categories>
  <description>定数を列挙するために使う。正直まだ構造体と何が違うのかよくわからない。 でもとにかく見やすいので覚えておく。 まずは基本形 enum enumの名前: 型 { case 定数名 = 定数 } 実際に使うとこんな感じで使える。とても見やすい。 enum Name: String { case first = &quot;飯田&quot; case second = &quot;上田&quot; case third = &quot;江頭&quot; } let name1:Name = .first let name2 = Name.second print(name1) print(name2) print(name1.rawValue) print(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mizukinoko.com%2Fentry%2F2020%2F05%2F08%2F123846&quot; title=&quot;swiftのenumの使い方【備忘録】 - キノコが何か作るブログ&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-ak.f.st-hatena.com/images/fotolife/m/mizukinoko/20200508/20200508121548.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-08 12:38:46</published>
  <title>swiftのenumの使い方【備忘録】</title>
  <type>rich</type>
  <url>https://www.mizukinoko.com/entry/2020/05/08/123846</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
