• 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: making the window shake
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making the window shake


  • Subject: Re: making the window shake
  • From: "John C. Randolph" <email@hidden>
  • Date: Thu, 18 Nov 2004 13:10:00 -0800


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@hidden> (408) 974-8819 Sr. Cocoa Software Engineer, Apple Worldwide Developer Relations http://developer.apple.com/cocoa/index.html


_______________________________________________ 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: making the window shake
      • From: Wade Tregaskis <email@hidden>
References: 
 >making the window shake (From: John Spicer <email@hidden>)

  • Prev by Date: making the window shake
  • Next by Date: Cocoa and Java 1.4
  • Previous by thread: making the window shake
  • Next by thread: Re: making the window shake
  • Index(es):
    • Date
    • Thread