TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2015 |
Maintained by Danilo Priore.
A nice iOS framework to able you to create iPhone and iPad Apps with snow falling effects on a UIViewController, with rotation of flakes, from left and right directions, and flakes with big, medium and tiny size's.
With this Framework you can create iPhone and iPad Apps with snow falling effects on UIViewController, with rotation of flakes, left and right direction and flakes that vary in size (big, medium and small).
Below a simple example on Objective-C :
// always visible
SnowFalling *snowFalling = [[[SnowFalling alloc] initWithView:self.view] autorelease];
snowFalling.numbersOfFlake = 20;
snowFalling.hidden = NO;
// visible only from dec 1 to jan 5
SnowFalling *snowFalling = [[[SnowFalling alloc] initWithView:self.view autoStartEnd:YES];
// only from the dates specified
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
[dateFormat setDateFormat:@"yyyy-MM-dd"];
NSDate *date1 = [dateFormat dateFromString:@"2015-12-22"];
NSDate *date2 = [dateFormat dateFromString:@"2016-01-05"];
SnowFalling *snowFalling = [[[SnowFalling alloc] initWithView:self.view startDate:date1 endDate:date2];