-
Version 0.3.0
-
VFXView is a framework custom UIView by add some animation and effect.
use_frameworks!
target '<Your Target Name>' do
pod 'VFXView'
end
- Drag all files under
VFXView
folder into your project.
-
Objective-C:
VFXSnowView* snowView = [[VFXSnowView alloc] initWithFrame:containerView.frame];
-
Swift:
var snowView = VFXSnowView.init(frame: containerView.frame)
1 Drag an VFXSnowView object to ViewController
2 Change the Custom Class to VFXSnowView
3 Add outlet to VFXSnowView
-
Objective-C:
[snowView setupVFXViewWithRect:containerView.frame];
-
Swift:
snowView.setupVFXView(with: frame: containerView.frame)
In case you want to load vfx configs from api server
-
Objective-C:
[snowView setupVFXViewWithRect:view.bounds andComplete:^(VFXView * _Nullable view) {
// Do something
}];
-
Swift:
snowView.setupVFXView(with: view.bounds) { view in
// Do something
}
-
Note : You can use VFXViewExample, VFXViewExampleObjc to understand better
With VFXSnowView you can create the snow fall effect on your view like bellow.
With VFXMidnightSnowView you can create the snow fall effect on your view like bellow.
With VFXFlyBubbleView you can create the snow fall effect on your view like bellow.
With VFXRainView you can create the snow fall effect on your view like bellow.
With VFXLiquidView you can create the snow fall effect on your view like bellow.
With ** VFXBubblyView** you can create the snow fall effect on your view like bellow.
-
VFXView is released under the MIT license. See LICENSE for details.
-
Is VFXView helpful? Please consider donating to sustain our activities ? Please consider donating to sustain my activities.