title: How to add drop down shadows in tableview cells in iOS
body: <p>as seen in this <a href="https://stackoverflow.com/questions/6731545/when-does-a-view-or-layer-require-offscreen-rendering/9462814#9462814">question</a>, one can add drop down shadows by using this type of code:</p>
  
  <pre><code>self.layer.shadowOffset = CGSizeMake(0, 1);
  self.layer.shadowRadius = 1;
  self.layer.shadowOpacity = 0.3;
  </code></pre>
  
  <p>But this cannot be hardware accelerated, so it takes long to render and when used in a tableview, that needs to redraw every cell, it slows down a lot!</p>
  
  <p>Having this settled, does anyone know a way for doing this smoothly? </p>