A question regarding objective-c / cocoa.
Hello world. When I launch my application, i have a method getting called inside
'windowControllerDidLoadNib'
that basically initializes the application, by calling 'runModalForWindow' on 'NSApplication' with for it's argument, an "intro panel." The intro panel is shown every time it is the case that it is a new document.
However, when I open archived documents I also get the intro panel. Would there be a way to detect the state of either a new document or opening one, so that inside 'windowControllerDidLoadNib', I could choose the appropriate action?
Thank you in advance for any replies.
Sincerely,
Finley
Hello world. When I launch my application, i have a method getting called inside
'windowControllerDidLoadNib'
that basically initializes the application, by calling 'runModalForWindow' on 'NSApplication' with for it's argument, an "intro panel." The intro panel is shown every time it is the case that it is a new document.
However, when I open archived documents I also get the intro panel. Would there be a way to detect the state of either a new document or opening one, so that inside 'windowControllerDidLoadNib', I could choose the appropriate action?
Thank you in advance for any replies.
Sincerely,
Finley