<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cockscomb</author_name>
  <author_url>https://blog.hatena.ne.jp/cockscomb/</author_url>
  <blog_title>cockscomblog?</blog_title>
  <blog_url>https://cockscomb.hatenablog.com/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>Development</anon>
    <anon>日記</anon>
  </categories>
  <description>新年あけましておめでとうございます。 class, struct Swiftにはclass (class)の他にstructure (struct)があり、どちらもよく似た機能を提供する。しかしそれぞれ参照型 (reference type)と値型 (value type)という違いがあり、このことはパラダイムの違いをもたらす。そこで多くのSwiftプログラマーは、classとstructのどちらを採用するべきか迷いがちである。本記事ではこの問題について議論を深めたい。 structはカッコいい classについてはなじみ深いと思うので、structの特徴を整理する。はじめに述べたようにstr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcockscomb.hatenablog.com%2Fentry%2Fchoosing-between-classes-and-structures&quot; title=&quot;Swiftにおけるclassとstructの使い分け - cockscomblog?&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>http://ecx.images-amazon.com/images/I/51-XJjg8H+L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-01 14:04:01</published>
  <title>Swiftにおけるclassとstructの使い分け</title>
  <type>rich</type>
  <url>https://cockscomb.hatenablog.com/entry/choosing-between-classes-and-structures</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
