• 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
NSViewAnimation vs Distributed Notification: Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSViewAnimation vs Distributed Notification: Bug?


  • Subject: NSViewAnimation vs Distributed Notification: Bug?
  • From: Iceberg-Dev <email@hidden>
  • Date: Sun, 28 Feb 2010 00:24:17 +0100

[Q] Is there a known bug in NSViewAnimation on Mac OS X 10.4 when it comes to Distributed Notifications?

Scenario:
---------

If I animate a window resizing through a NSViewAnimation, some Distributed Notifications are only taken into account after I click in the window resized through a NSViewAnimation.

If I animate the window with setFrame:dispplay:animate:, the problem does not occur.

------->8------->8------->8------->8------->8------->8------->8-------

// This does not work correctly

tAnimationDictionary=[NSDictionary dictionaryWithObjectsAndKeys:IBwindow_,NSViewAnimationTargetKey,
[NSValue valueWithRect: tNewWindowFrame], NSViewAnimationEndFrameKey,
nil];

tAnimation=[[NSViewAnimation alloc] initWithViewAnimations: [NSArray arrayWithObject:tAnimationDictionary]];

if (tAnimation!=nil)
{
[tAnimation setAnimationBlockingMode:NSAnimationBlocking];


	[tAnimation setDuration: 0.15f];

	[tAnimation startAnimation];

	[tAnimation autorelease];
}

// This works fine

[IBwindow_ setFrame:tNewWindowFrame display:YES animate:YES];


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSViewAnimation vs Distributed Notification: Bug?
      • From: Steven Degutis <email@hidden>
  • Prev by Date: Re: How to get my application version from inside my code?
  • Next by Date: Re: NSViewAnimation vs Distributed Notification: Bug?
  • Previous by thread: Re: How to get my application version from inside my code?
  • Next by thread: Re: NSViewAnimation vs Distributed Notification: Bug?
  • Index(es):
    • Date
    • Thread