<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomcky</author_name>
  <author_url>https://blog.hatena.ne.jp/tomcky/</author_url>
  <blog_title>Tomcky's blog</blog_title>
  <blog_url>https://tomcky.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Swift</anon>
  </categories>
  <description>前回に続き、Swiftの勉強記録その２。 function Swiftの関数はこんな感じの記述。 func addExpression(x: Int, y: Int) -&gt; Int { return x + y } addExpression(6, 12) // 18 可変長引数もできるし、複数の値返却も可能。 func sumOf(numbers: Int...) -&gt; (sum: Int, avg: Double) { var sum = 0 , counter = 0; for number in numbers { sum += number counter++ } return (s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomcky.hatenadiary.jp%2Fentry%2F2014%2F12%2F17%2F183106&quot; title=&quot;The Swift Programming Language 勉強記録 - 2 - Tomcky&amp;#39;s blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-12-17 18:31:06</published>
  <title>The Swift Programming Language 勉強記録 - 2</title>
  <type>rich</type>
  <url>https://tomcky.hatenadiary.jp/entry/2014/12/17/183106</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
