• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple hide window for x number of seconds...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Simple hide window for x number of seconds...
      • From: Tom Jones <email@hidden>
    • Re: Simple hide window for x number of seconds...
      • From: "I. Savant" <email@hidden>
References: 
 >Simple hide window for x number of seconds... (From: Tom Jones <email@hidden>)

  • Prev by Date: Re: Simple hide window for x number of seconds...
  • Next by Date: Re: Simple hide window for x number of seconds...
  • Previous by thread: Re: Simple hide window for x number of seconds...
  • Next by thread: Re: Simple hide window for x number of seconds...
  • Index(es):
    • Date
    • Thread