title: self refrence inside swift closure return nil some time
body: <p>I am accessing instance method inside closure in swift, <strong>self</strong> reference become <strong>nil</strong> in some cases which result crash my program. I tried to access using <code>[weak self]</code> but it failed to call the instance method when <strong>self</strong> is <code>nil</code>.</p>
  
  <pre><code>[weak self] () -&gt; () in
  </code></pre>