i want to animate my two window using NSWindowFlipper i get the code from here now i want to call that animation class how can i call that flipper class
this is my window
IBOutlet NSWindow *from ;
IBOutlet NSWindow * to;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to import “NSWindow+Additions” and “NSWindowFlipper” classes to Your project. If You want to call this class You need button with “NSWindowFlipper” launch code.
Don’t forget to import in buttons class .h “NSWindowFlipper” like so:
For example this class can be like so:
Don’t forget IBOutlet Your windows and button!! Uncheck “Visible At Launch” to Your “to” window.
And Your class .m can be like so:
So I think Your problem was because You forget to import header file “NSWindowFlipper.h” to Your’s class header file.
Now everything should work. Good luck!