Download flutter/examples/platform_view/macos/Runner/AppDelegate.swift from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/examples/platform_view/macos/Runner/AppDelegate.swift
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/examples/platform_view/macos/Runner/AppDelegate.swift
-
curl -L -o AppDelegate.swift https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/examples/platform_view/macos/Runner/AppDelegate.swift
476 Bytes
| // 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 | |
| @main | |
| class AppDelegate: FlutterAppDelegate { | |
| override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { | |
| return true | |
| } | |
| override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { | |
| return true | |
| } | |
| } | |