-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSnowFallView.h
executable file
·44 lines (35 loc) · 1.05 KB
/
SnowFallView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// SnowFallView.h
// SnowFall
//
// Created by Felice on 03/11/10.
//
#import <UIKit/UIKit.h>
@interface SnowFallView : UIView {
// how many flakes in the view
NSInteger flakesCount;
// file name of flake image
// adjust flake size accordingly
NSString *flakeFileName;
// flake maximum size
float flakeWidth;
float flakeHeight;
// flake minimum size as % of maximum size
// range 0,0 to 1.0 (1.0 = maximum size)
float flakeMinimumSize;
// animation duration
float animationDurationMin;
float animationDurationMax;
// do not change
NSMutableArray *flakesArray;
}
@property (nonatomic, retain) NSMutableArray *flakesArray;
@property (nonatomic, retain) NSString *flakeFileName;
@property (nonatomic, assign) NSInteger flakesCount;
@property (nonatomic, assign) float flakeWidth;
@property (nonatomic, assign) float flakeHeight;
@property (nonatomic, assign) float flakeMinimumSize;
@property (nonatomic, assign) float animationDurationMin;
@property (nonatomic, assign) float animationDurationMax;
-(void) letItSnow;
@end