Re: How do I implement a splash window
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