Design visually particle effects and save the effects as files.
Open effects, edit them any time, show particle systems in your iPhone or OSX apps with 2 lines of code.
For a video tutorial on how to design particle effects check this article.
When you are happy with the effect click File/Save... and save the effect as [name_of_your_choice].ped.
Follow these 4 easy steps:
1) Add the .ped file to your Xcode project.
2) Add the QuartzCore.framework to your project.
3) Add to your project the UIEffectDesignerView class - download from here
4) Show the effect on the screen:
For iOS add in your ViewController code:
UIEffectDesignerView* effectView = [UIEffectDesignerView effectWithFile:@"[name_of_your_choice].ped"]; [self.view addSubview:effectView];For OSX add to your AppDelegate code:
UIEffectDesignerView* effectView = [UIEffectDesignerView effectWithFile:@"[name_of_your_choice].ped"]; [self.window.contentView addSubview: effectView];
Complete example of using the UIEffectDesignerView for iOS and OSX you can find on GitHub here.
Feel free to send me feedback from this page








4万+



被折叠的 条评论
为什么被折叠?



