how to execute code on startup(show) window from xib/nib in swift

164 Views Asked by At

I have made a window.xib file and I would like to execute some code when et starts up (shows) like applicationDidFinishLaunching in main window.

how do I do that in Swift OS X .

1

There are 1 best solutions below

0
On

It's not possible to run any code on Launch Screen.

Please take a look at this answer: Execute code in Launch Screen