-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSAMStarListView.h
More file actions
39 lines (22 loc) · 1008 Bytes
/
SAMStarListView.h
File metadata and controls
39 lines (22 loc) · 1008 Bytes
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
//
// SAMStarListView.h
//
// Created by Roman Kříž on 02.06.13.
// Copyright (c) 2013 samnung. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SAMStarListView : UIView
@property (nonatomic, assign) NSUInteger count; // default 5
@property (nonatomic, assign) NSUInteger countOfSelected; // default 0
@property (nonatomic, assign) BOOL square; // default YES
@property (nonatomic, strong) UIColor * strokeColor;
@property (nonatomic, strong) UIColor * emptyColor;
@property (nonatomic, assign) CGFloat proportion; // default 0.38
- (id) initWithFrame:(CGRect)frame count:(NSUInteger)count countOfSelected:(NSUInteger)countOfSelected withStrokeColor:(UIColor *)strokeColor;
+ (void) setDefaultSquare:(BOOL)sqaure;
+ (void) setDefaultProportion:(CGFloat)proportion;
+ (void) setDefaultCount:(NSUInteger)count;
+ (void) setDefaultCountOfSelected:(NSUInteger)countOfSelected;
+ (void) setDefaultStrokeColor:(UIColor *)color;
+ (void) setDefaultEmptyColor:(UIColor *)color;
@end