NSApplication and -applicationDidFinishLaunching:

前端 未结 2 801
说谎
说谎 2021-01-13 21:33

I have an application where I have a main.m that returns NSApplicationMain(argc, (const char **) argv);.

I want to run code on -appl

2条回答
  •  旧巷少年郎
    2021-01-13 22:13

    Louis' answer is concise and spot-on. However, if the concept of delegate methods is new to you, you'd do well to check out the relevent documenation.

提交回复
热议问题