-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Issue #32, and Added a new progress view.
- Loading branch information
1 parent
9d3c309
commit 6ea8d8d
Showing
12 changed files
with
799 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// | ||
// M13ProgressViewLetterpress.h | ||
// M13ProgressSuite | ||
// | ||
// Created by Brandon McQuilkin on 4/28/14. | ||
// Copyright (c) 2014 Brandon McQuilkin. All rights reserved. | ||
// | ||
|
||
#import "M13ProgressView.h" | ||
|
||
typedef enum { | ||
M13ProgressViewLetterpressPointShapeSquare, | ||
M13ProgressViewLetterpressPointShapeCircle | ||
} M13ProgressViewLetterpressPointShape; | ||
|
||
@interface M13ProgressViewLetterpress : M13ProgressView | ||
/**@name Properties*/ | ||
/** | ||
The number of grid points in each direction. | ||
*/ | ||
@property (nonatomic, assign) CGPoint numberOfGridPoints; | ||
/** | ||
The shape of the grid points. | ||
*/ | ||
@property (nonatomic, assign) M13ProgressViewLetterpressPointShape pointShape; | ||
/** | ||
The amount of space between the grid points. | ||
*/ | ||
@property (nonatomic, assign) CGFloat pointSpacing; | ||
/** | ||
The size of the notch to carve out on one side. | ||
*/ | ||
@property (nonatomic, assign) CGSize notchSize; | ||
/** | ||
The spring constant that defines the amount of "spring" the progress view has in its animation. | ||
*/ | ||
@property (nonatomic, assign) CGFloat springConstant; | ||
/** | ||
The constant that determines how long the progress view "bounces" for. | ||
*/ | ||
@property (nonatomic, assign) CGFloat dampingCoefficient; | ||
/** | ||
The constant that determines how much the springConstant and dampingCoefficent affect the animation. | ||
*/ | ||
@property (nonatomic, assign) CGFloat mass; | ||
|
||
@end |
Oops, something went wrong.