title: How to create shadow effect in uitableviewcell?
body: <p>i am developing one application in which i want to create shadow effect similar to shown in below image at bottom uitableviewcell.</p>
  
  <p><img src="https://i.stack.imgur.com/8xUBa.png" alt="enter image description here"></p>
  
  <p>How can i do that?any tutorial or sample code? I have checked <a href="http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html" rel="nofollow noreferrer">http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html</a>, 
  <a href="http://www.touchthatfruit.com/?tag=uitableview" rel="nofollow noreferrer">http://www.touchthatfruit.com/?tag=uitableview</a>
  and some other ones.but they have shadow at bottom of uitableview with same height.and how to
  add shadow at side borders of each section containing the date(not the entire tableview).I can create the dropdown shadow at bottom.but what about side borders of last uitableview cell of each section.and one way is creating the image and setting it as background of tableviewcell.But how to resize the image and will it look proper because each section has dynamic number of entries.one section only have 1 entry and other may contain 15 or more entries.(here image is for entire section which contains date).i can have seperate image for only last tableviewcell of each section.This is i know.but is there any better approach or do it programatically?</p>