Photo Editor/AppDelegate.swift
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
The skelaton application delegate implementation. |
*/ |
import Cocoa |
@NSApplicationMain |
class AppDelegate: NSObject, NSApplicationDelegate { |
func applicationDidFinishLaunching(_ notification: Notification) { |
UserDefaults.standard.register(defaults: [ UserDefaults.useDarkModeKey.rawValue : false ]) |
} |
} |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-10-27