Netzach on 02/16/09
Last Edited at 02/16/09 12:47pm
- (void)fadeInWindow:(NSWindow*)window{ float alpha = 0.0; [window setAlphaValue:alpha]; [window makeKeyAndOrderFront:self]; for (int x = 0; x < 10; x++) { alpha += 0.1; [window setAlphaValue:alpha]; [NSThread sleepForTimeInterval:0.020]; }}
Report this snippet Tweet
Comment:
You need to login to post a comment.