Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我制作了一个 window.xib 文件,我想在 et 启动(显示)时执行一些代码,例如主窗口中的 applicationDidFinishLaunching。
我如何在 Swift OS X 中做到这一点。
无法在启动屏幕上运行任何代码。
请看一下这个答案:在启动屏幕中执行代码