-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMFSliderControl.h
More file actions
31 lines (22 loc) · 769 Bytes
/
MFSliderControl.h
File metadata and controls
31 lines (22 loc) · 769 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
//
// MFSliderControl.h
// Piqueturs
//
// Created by Mark Flowers on 6/29/13.
// Copyright (c) 2013 Piqueturs LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
@class MFSliderControl;
@protocol MFSliderControlDelegate <NSObject>
@required
- (void) slider:(MFSliderControl*) slider valueChanged:(float) value;
@end
@interface MFSliderControl : UIControl
@property (nonatomic, strong) UIImage *thumbImage;
@property (nonatomic) NSRange range;
@property (nonatomic) float step;
@property (nonatomic, strong) UIColor *trackColor;
@property (nonatomic) float value;
@property (nonatomic, strong) id<MFSliderControlDelegate> delegate;
- (id)initWithFrame:(CGRect)framet thumbImage:(UIImage*) thumbeImage range:(NSRange) range stepSize:(float) stepSize;
@end