How to make flip animation for OS X application windows without complex coding?
相关问题
- NSOutlineView drag line stuck + blue border
- Animate a WPF Window left and right with a shake e
- jQuery, how to make synchronous animations?
- 3D “cube” animation between Activities in Android
- Fade UITextField text
相关文章
- Keep constant number of visible circles in 3D anim
- Converting (u)int64_t to NSNumbers
- “getter” keyword in @property declaration in Objec
- Animate opacity on hover (jQuery)
- NSMenuItem KeyEquivalent “ ”(space) bug
- Quit app when NSWindow closes
- Detect if cursor is hidden on Mac OS X
- NSNumberFormatter doesn't allow typing decimal
Finally, I did it. I have created object that work with NSWindowController objects instead of NSWidows.
ALWindowFlipAnimator.h
ALWindowFlipAnimator.m
How to use:
[FLIPANIMATOR flipToWindowNibName:@"SecondWindowController" direction:ALFlipDirectionRight];
to flip to second window, or[FLIPANIMATOR flipToWindowNibName:@"FirstWindowController" direction:ALFlipDirectionLeft];
to return back