flutter/examples/layers/macos/Runner/AppDelegate.swift
Chris Bracken b04bdd0b02
[macOS] Adds macOS project files to layers example (#102539)
Adds macOS support to the layers examples collection.

Issue: https://github.com/flutter/flutter/issues/84306
2022-05-13 14:17:01 -07:00

14 lines
379 B
Swift

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Cocoa
import FlutterMacOS
@NSApplicationMain
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
}