OS-X: I want to end the program in SWIFT.

Asked 2 years ago, Updated 2 years ago, 38 views

I would like to close the application when I receive events such as specific buttons using Swift.

If anyone knows, please let me know.
Thank you for your cooperation.

swift macos

2022-09-30 16:31

1 Answers

NSApplication class functerminate(_sender:AnyObject?).

NSApplication Class Reference


2022-09-30 16:31

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.