Re: Simple hide window for x number of seconds...
Re: Simple hide window for x number of seconds...
- Subject: Re: Simple hide window for x number of seconds...
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 24 May 2007 16:28:07 -0700
On 5/24/07, Tom Jones <email@hidden> wrote:
Hello,
I'm brand new to Cocoa so I'm sorry for the stupid question...
I would like to hide my main window of my "Cocoa Application" for let's say
10 seconds. I can hide it with the [mainWindow orderOut:nil]; but how do I
so a delay for 10 seconds and I have the reopen [mainWindow
makeKeyAndOrderFront:nil];
Consider the following...
[mainWindow orderOut:self];
[mainWindow performSelector:@selector(makeKeyAndOrderFront:)
withObject:self afterDelay:10.0];
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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