• 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
Using afterDelay: ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using afterDelay: ?


  • Subject: Using afterDelay: ?
  • From: Mamdouh <email@hidden>
  • Date: Wed, 26 Jun 2002 01:55:38 +0200

Hi i have a status-sheet that i need to slow down a little before closing!
I have a method that gets some data, and while its getting this it displays a status-sheet (a simple sheet with a progress-indicator like in DiscCopy), but this sometimes goes to fast and i want to set a delay time for it, so it doesn't look bad!! I think there4s some other way of setting a minimum time for an action, but until now i have only found afterDelay: ! But even this i cant get to wait! heres what i4m writing:

[[suStatusSheet orderOut:NULL]afterDelay:3];

This does4nt work!
Heres the header method:
- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay

But i don4t know, or i cant seem to find out, how i use this with a orderOut: method!??!

Could somebody help wither with this method or give me another pointer on setting a minimum time for something currently running!

TIA

Mamdouh
Student/Programmer
Denmark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Using afterDelay: ?
      • From: Carl Norum <email@hidden>
    • Re: Using afterDelay: ?
      • From: David Remahl <email@hidden>
  • Prev by Date: RE: ADC TV
  • Next by Date: Re: Searching for "frontmost" NSView of a certain type?
  • Previous by thread: [OT] Re: ADC TV
  • Next by thread: Re: Using afterDelay: ?
  • Index(es):
    • Date
    • Thread