粒子效果

UIEffectDesigner是一个第三方的粒子动画制作工具(工具下载地址http://www.touch-code-magazine.com/uieffectdesigner.

使用这个mac工具,把自己想要的粒子效果调好,点击file->save as,自动保存为ped格式文件,导入xcode工程,引入ped文件。

1
2
UIEffectDesignerView* effectView = [UIEffectDesignerView effectWithFile:@"下雪.ped"];
[self.view addSubview:effectView];

见效果图:

利用mac程序根据你要的效果设定参数
mac程序设定效果图