Skip to content

Commit

Permalink
enable upcoming feature DeprecateApplicationMain
Browse files Browse the repository at this point in the history
Summary:
Context: https://fb.workplace.com/groups/pikacompilertalk/permalink/1922686104918501/

SE: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0383-deprecate-uiapplicationmain-and-nsapplicationmain.md

This one is pretty straightforward. Let's make Swift 5 act like Swift 6

Reviewed By: ebgraham

Differential Revision: D66391294

fbshipit-source-id: c8aaf9f9904c29ab9955c34f564df9b150d81129
  • Loading branch information
Adam Cmiel authored and facebook-github-bot committed Dec 6, 2024
1 parent 0ec2d52 commit 86dcc6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Examples/Examples-iOS/IGListKitExamples/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

@UIApplicationMain
@main
class AppDelegate: UIResponder, UIApplicationDelegate {

var isLaunched = false
Expand Down
2 changes: 1 addition & 1 deletion Examples/Examples-tvOS/IGListKitExamples/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

@UIApplicationMain
@main
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?
Expand Down

0 comments on commit 86dcc6e

Please sign in to comment.