Re: Closing an app with the red dot.
Re: Closing an app with the red dot.
- Subject: Re: Closing an app with the red dot.
- From: Nick <email@hidden>
- Date: Tue, 17 May 2011 15:12:12 +0300
when you 'close' the window - by default the application is not being
terminated - you can get your window back programmatically by calling
[myWindow makeKeyAndOrderFront].
This is what some apps call, when you click their icon on dock to get
the closed window back.
You can legally terminate application by closing its window as well if
you return YES in the method
"-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication
*)theApplication" of your application's delegate.
2011/5/17 JAMES ROGERS <email@hidden>:
> I am a cocoa developer, albeit a new one. So I have every right to post this question on this site. Thank you very much, but clicking on the application in the dock does not work in my case. That would be a rather obvious answer and one of the many things I tried. Based on some of the web guru sites, I am not the first to pose this question and a not willing to accept the answer I see most, "that is the way Mac works". That is why I came to this site, as a last resort.
>
> You have a nice day Joanna.
>
> Jim
>
>
> On May 17, 2011, at 6:35 AM, Joanna Carter wrote:
>
>> Jim
>>
>> Do you realise that this is a mailing list for software developers?
>>
>> Nonetheless, assuming you don't mean programatically, simply click on the application in the Dock.
>>
>> Joanna
>>
>> --
>> Joanna Carter
>> Carter Consulting
>>
>
> JIM ROGERS
> email@hidden
> http://web.me.com/jimrogers_w4atk
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden