• 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: How do I implement a splash window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I implement a splash window


  • Subject: Re: How do I implement a splash window
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 24 Apr 2006 04:12:20 +0200

This is perfectly right, but...

On 24.4.2006, at 2:47, PGM wrote:

splashTimer = [[NSTimer scheduledTimerWithTimeInterval:interval
target:self
selector:@selector(hidePanel)
userInfo:nil
repeats: NO] retain];

... you can get the very same result with considerably less and simpler (and thus also less error-prone) code like


[panel performSelector:@selector(orderOut:) withObject:self afterDelay:1.5];

(Actually, I've integrated these services into my HOM libraries, so I just use "[[panel afterDelay:1.5] orderOut:self]", but that's another story :))
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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: How do I implement a splash window
      • From: desktoast music productions <email@hidden>
References: 
 >How do I implement a splash window (From: desktoast music productions <email@hidden>)
 >Re: How do I implement a splash window (From: PGM <email@hidden>)

  • Prev by Date: Re: Core Data Binding question: How to implement unidirectional or read-only binding
  • Next by Date: core data/binding question
  • Previous by thread: Re: How do I implement a splash window
  • Next by thread: Re: How do I implement a splash window
  • Index(es):
    • Date
    • Thread