Skip navigation.
 
mlRe: making the window shake
FROM : John C. Randolph
DATE : Thu Nov 18 22:10:00 2004

On Nov 18, 2004, at 12:41 PM, John Spicer wrote:

> Does anyone know how that's done when you enter your password
> incorrectly? I'd like to do that too.


They just use a timer to move the window back and forth.  See the docs
for the NSTimer class and NSWindow's -setFrameOrigin: method.

-jcr


John C. Randolph <<email_removed>> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html

Related mailsAuthorDate
mlmaking the window shake John Spicer Nov 18, 21:41
mlRe: making the window shake John C. Randolph Nov 18, 22:10
mlRe: making the window shake Wade Tregaskis Nov 19, 01:59