title: Change date format in Swift
body: <p>I have a date format in <code>String</code> value of "2015-08-27" which is "YYYY-MM-DD". I need to convert this to <code>Date</code> format and change the format to "DD-MMM-YYYY". And change it back to <code>String</code> format again to display. So the end result would be "27-AUG-2015".</p>
  
  <p>I have been searching for codes, but couldn't find one.</p>