objective c - Redrawing the cocoa app's main window when clicked -
i made mac os x cocoa app, , when click red button main window disappears.
however, when clicked icon in dock, doesn't show main window anymore.
what's wrong? how redraw main window catching message?
you might able in application delegate:
- (bool)applicationshouldopenuntitledfile:(nsapplication *)sender { //show window here return no; }
Comments
Post a Comment