• 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: Wait some seconds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wait some seconds


  • Subject: Re: Wait some seconds
  • From: Charilaos Skiadas <email@hidden>
  • Date: Wed, 22 Jun 2005 14:09:11 -0500

On Jun 22, 2005, at 1:50 PM, Sanri Parov wrote:

Hi everybody,

in my app, after a notification, I'd love to wait some seconds before
doing somethin' (without blocking modally the app)
Example:

 if([sender object]==myOutlet)
    {
     <wait some seconds>;
    return
    }
    else
    {
    NSLog(@"I don't want to wait");
    return;
    }

How can I do this?
Thanks a lot.

I would try to use NSTimer. But that might require rewriting some stuff, since you need to provide a call-back and stuff. What is it that you are trying to accomplish though?


--
Sanri Parov

Haris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Wait some seconds
      • From: Sanri Parov <email@hidden>
References: 
 >Wait some seconds (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: Wait some seconds
  • Next by Date: Acquiring the visible characters from a NSTextView
  • Previous by thread: Re: Wait some seconds
  • Next by thread: Re: Wait some seconds
  • Index(es):
    • Date
    • Thread