codestergit / SweetAlert-iOS

Live animated Alert View for iOS written in Swift
MIT License
2.05k stars 303 forks source link

Remove some unnecessary code #29

Open hkalexling opened 8 years ago

hkalexling commented 8 years ago
  1. In ViewController.swift, an instance of SweetAlert was created but never used, so I deleted it.
  2. In SweetAlert.swift, the showAlert functions don't need to return, so I deleted the return code.