* @main

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update AppDelegate.stencil
This commit is contained in:
Roman Podymov 2021-01-03 11:16:58 +01:00 committed by GitHub
parent bfa7b8d9a4
commit 7fab5f8070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -21,6 +21,10 @@ Please, check out guidelines: https://keepachangelog.com/en/1.0.0/
- Support `.s` source files [#2199](https://github.com/tuist/tuist/pull/2199) by[ @dcvz](https://github.com/dcvz).
- Support for printing from the manifest files [#2215](https://github.com/tuist/tuist/pull/2215) by @pepibumur](https://github.com/pepibumur).
### Changed
- Replace `@UIApplicationMain` and `@NSApplicationMain` with `@main` [#2222](https://github.com/tuist/tuist/pull/2222) by [@RomanPodymov](https://github.com/RomanPodymov).
## 1.29.0 - Tutu
### Fixed

View File

@ -2,7 +2,7 @@
import {{ name }}Kit
import {{ name }}UI
@NSApplicationMain
@main
class AppDelegate: NSObject, NSApplicationDelegate {
@IBOutlet weak var window: NSWindow!
@ -19,7 +19,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
import {{ name }}Kit
import {{ name }}UI
@UIApplicationMain
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?

View File

@ -31,7 +31,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
import {{ name }}Kit
import {{ name }}UI
@UIApplicationMain
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.