Skip to content

Commit 4300383

Browse files
committed
Major refactor, extract animations and transitions to smaller methods
use ivars to help with memory management, etc
1 parent e0ef3b1 commit 4300383

File tree

7 files changed

+398
-198
lines changed

7 files changed

+398
-198
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
*.pyc
77
*~.nib/
88
build/*
9+
*/xcuserdata/*
10+
*/project.xcworkspace/*
911

1012
# Textmate - if you build your xcode projects with it
1113
*.tm_build_errors

Classes/MGPProgressButton.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ typedef enum {
3636
@property (nonatomic, assign) CGFloat progress;
3737
@property (nonatomic, retain) UIColor *progressColor;
3838
@property (nonatomic, assign) ProgressButtonState buttonState;
39-
@property (nonatomic, readonly) CAShapeLayer *progressRing;
39+
@property (nonatomic, retain, readonly) CAShapeLayer *progressRing;
4040

41-
- (IBAction) beginLoading;
41+
- (IBAction) handleTouchUpInside:(id)sender;
4242
- (IBAction) resetProgress;
4343

4444
- (void) setButtonState:(ProgressButtonState)newState animated:(BOOL)animated;

0 commit comments

Comments
 (0)