Reputation: 12276
I try to call setFrame:display:animate:
on my NSWindow and doesn't do anything, but if I call setFrame:display:
on the same window, it works.
Do I have to do something else to enable resizing with animation?
PS: In C++, if I want to mention a specific class' method I write, for example: NSWindow::setFrame()
(not only in code but to refer to it in posts) is there such a convention in Objective-C? [NSWindow setFrame:display:animate:]
?
Upvotes: 0
Views: 1106
Reputation: 2859
Well, you could just using Core Animation, as in [[NSWindow animator] setFrame: display:];
Upvotes: 6