Alamofire Image : Placeholder image is not set for af_setImageWithURL
<p>I am using <code>af_setImageWithURL</code> Alamofire API to fetch the table cell images and pass a default placeholder image:</p>

<pre><code>let defaultImage = UIImage(named:"myImage")
cell.imageView.af_setImageWithURL(imageURL, placeholderImage:defaultImage, imageTransition: .CrossDissolve(0.1))
</code></pre>

<p><strong>Problem:</strong> When my image does not exists at the downloading path, cell do not show the default image as well. When I scroll the table up &amp; down (to purge and re-use the same cell) then it shows up.</p>

<p><strong>EDIT:</strong></p>

<p>Noticed this is happening after dequeuing the cell, I reset the image first and then call Alamofire. If I comment out below line, it works fine but then I am running into a risk of showing old product image if both image URL and default images are not available.</p>

<pre><code>cell.imageView.image = nil
</code></pre>

<p>Anybody faced similar issue, please advise.</p>