StackOverflow Questions for Tag: nsapplication-delegate

Allactaga
Allactaga

Reputation: 193

NSApplicationDelegate's applicationDidFinishLaunching is not being called

Score: 5

Views: 5444

Answers: 6

Read More
Rich
Rich

Reputation: 7796

Why isn't application:openFile: called when the application is already running?

Score: 5

Views: 930

Answers: 2

Read More
Bri Bri
Bri Bri

Reputation: 2220

Is there any way to know when the user has tried to quit an application via its Dock icon?

Score: 7

Views: 1021

Answers: 1

Read More
CPlus
CPlus

Reputation: 4599

Does an NSApplication require an NSApplicationDelegate?

Score: 1

Views: 670

Answers: 2

Read More
Alexander
Alexander

Reputation: 63137

Prevent main AppKit app window from opening when loading a SwiftUI preview

Score: 7

Views: 572

Answers: 0

Read More
Z S
Z S

Reputation: 7479

Mac Widgets: NSApplication openURLs not called from widget

Score: 1

Views: 292

Answers: 1

Read More
Noah
Noah

Reputation: 514

applicationWillTerminate and applicationShouldTerminate don't get run on macOS?

Score: 4

Views: 1651

Answers: 1

Read More
Mark
Mark

Reputation: 6947

Make one last change to NSDocument before app terminates/window closes?

Score: 0

Views: 272

Answers: 1

Read More
soulianis
soulianis

Reputation: 41

NSApplicationDelegate application:openFile. Never reaches to openFile: function

Score: 4

Views: 3331

Answers: 2

Read More
Alfonso Tesauro
Alfonso Tesauro

Reputation: 1792

Why NSApplicationDelegate method openFiles: is being called multiple times on a multiple drag to the dock icon?

Score: 7

Views: 802

Answers: 1

Read More
pkamb
pkamb

Reputation: 34983

How to send and receive NSAppleEventDescriptor when using NSWorkspace to open URLs between apps?

Score: 2

Views: 1982

Answers: 1

Read More
Kenny
Kenny

Reputation: 479

Get name of file that launched an app in ViewController class?

Score: 0

Views: 442

Answers: 1

Read More
stevesliva
stevesliva

Reputation: 5655

Why not enforce strict singleton application delegate object to use in NIBs?

Score: 2

Views: 503

Answers: 3

Read More
Denis
Denis

Reputation: 795

At launch, prevent a document-based app to reopen an unsaved-unedited-empty document that was opened when quit

Score: 1

Views: 194

Answers: 1

Read More
Pablo
Pablo

Reputation: 29519

Main window is not always initialized in applicationDidFinishLaunching

Score: 2

Views: 415

Answers: 0

Read More
Corbell
Corbell

Reputation: 1393

Mac launch daemon runtime never calls app delegate when starting during reboot

Score: 2

Views: 325

Answers: 1

Read More
Alyoshak
Alyoshak

Reputation: 2746

How to be notified when a non-visible Mac OSX app is closing down? -- applicationWillTerminate() not called

Score: 2

Views: 731

Answers: 0

Read More
user2581362
user2581362

Reputation: 21

How to initialize a NSDocument after calling LSLaunchFSRefSpec?

Score: 2

Views: 125

Answers: 0

Read More
3ef9g
3ef9g

Reputation: 881

Catching arguments for creating a new document with a document-based application on MAC

Score: 0

Views: 278

Answers: 2

Read More
sac
sac

Reputation: 910

How to prevent logout from app running as agent

Score: 1

Views: 322

Answers: 1

Read More
PreviousPage 1Next