title: 'UIApplicationMain' class must conform to the 'UIApplicationDelegate' protocol
body: <p>I got this code from previous developer.. Now I am getting error which says </p>
  
  <p><strong>'UIApplicationMain' class must conform to the 'UIApplicationDelegate' protocol</strong> </p>
  
  <p>I am posting a block of code below. I am not able to understand why exactly this happening in my code. Kindly please provide the solution if any...</p>
  
  <p>Thanks in advance</p>
  
  <pre><code>var appDelegate: HAppDelegate!
  
  @UIApplicationMain
  public class HAppDelegate: NSObject, UNUserNotificationCenterDelegate {
  
  }
  </code></pre>