我需要在NSOutlineView上对NSImageCell进行动画处理。我希望它看起来像iTunes上设备旁边的同步图标。
有什么想法吗?
发布于 2011-06-10 06:04:18
好的,我花了大约30分钟来研究这个:-)。最好的方法是使用NSImageView,因为您可以像这样使用动画工具调用+setFrameCenterRotation:(float)。
NSImageView *v = [whatever];
[[v animator] setFrameCenterRotation:(float)whateverYouWant];https://stackoverflow.com/questions/6298374
复制相似问题