• 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: Window move unknown to NSApp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window move unknown to NSApp?


  • Subject: Re: Window move unknown to NSApp?
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 2 Mar 2005 12:44:28 -0800


On Mar 2, 2005, at 12:35 PM, Bob Estes wrote:

Well, it's not one continuous loop, but the animation does go through a lot of steps called by a single routine that doesn't return until it's done.

That's why you're not seeing the normal event processing behavior (like getting window moved events.) If your code doesn't return control to the main event loop, a lot of things aren't going to happen.


I wouldn't advise taking over the event loop to do an animation. Have a look at NSTimer to generate periodic events, or look into using sprites in Quicktime.

-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:
    • progressIndicator in cocoa
      • From: simone gabbriellini <email@hidden>
References: 
 >Window move unknown to NSApp? (From: Bob Estes <email@hidden>)
 >Re: Window move unknown to NSApp? (From: "John C. Randolph" <email@hidden>)
 >Re: Window move unknown to NSApp? (From: Bob Estes <email@hidden>)

  • Prev by Date: Re: First day of week?
  • Next by Date: Re: Example code for inspector with disclosure views
  • Previous by thread: Re: Window move unknown to NSApp?
  • Next by thread: progressIndicator in cocoa
  • Index(es):
    • Date
    • Thread