Flicer while using NSViewAnimation for roll down

2013-04-16 Thread Ankuj Gupta
Hi I am trying to slide down a NSWindow using NSViewAnimation. I am using the following code NSRect firstViewFrame = [macWindow frame]; NSViewAnimation *theAnim; NSRect newViewFrame; NSMutableDictionary* firstViewDict;

Core Animation with NSWindow

2013-04-16 Thread Ankuj Gupta
Hi Can we use Core Animation with NSWindow ? The apple's documentation mentions that we can use only with NSView. If there is any documentation for core animation used with NSWIndow Thanks Ankuj ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Core Animation with NSWindow

2013-04-16 Thread Ankuj Gupta
Hi Jens The problem that I have is I cant change the apis for creating the windows. The only function which I can modify is when we are showing that window. That is where I need to animate it Ankuj Gupta On Tue, Apr 16, 2013 at 10:07 PM, Jens Alfke j...@mooseyard.com wrote: On Apr 16, 2013

Problem with NSViewAnimation

2013-04-11 Thread Ankuj Gupta
Hi I am trying to slide up a NSWindow when a button is pressed. I used NSViewAnimation to do so. The code I wrote is NSRect _saveRect = [macWindow frame]; NSRect _zeroRect = _saveRect; NSSize orignalSize(_saveRect.size);