<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>see_ku</author_name>
  <author_url>https://blog.hatena.ne.jp/see_ku/</author_url>
  <blog_title>開発メモ</blog_title>
  <blog_url>https://seeku.hateblo.jp/</blog_url>
  <categories>
    <anon>Swift</anon>
  </categories>
  <description>変数や定数の宣言時にlazyを付けてなくても自動的に遅延評価される場合があるので、その条件を調べた時のメモです。 動作を確認した環境 環境 情報 Xcode 6.1.1 (6A2008a) iOS 8.1 Swift 1.1 Date 2015/3/9 ソースコード テストに使ったソースコードはこんな感じ。 import UIKit // テスト用クラス class LazyTest { let name: String init(name: String) { self.name = name println(&quot;init: \(name)&quot;) } deinit { println(&quot;dein…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseeku.hateblo.jp%2Fentry%2F2015%2F03%2F09%2F195656&quot; title=&quot;Swiftの変数＆定数が、自動的にlazyとして扱われる条件を調べた時のメモ - 開発メモ&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>2015-03-09 19:56:56</published>
  <title>Swiftの変数＆定数が、自動的にlazyとして扱われる条件を調べた時のメモ</title>
  <type>rich</type>
  <url>https://seeku.hateblo.jp/entry/2015/03/09/195656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
