Skip to content

Commit a25be7e

Browse files
committed
Added a few pragma declarations to MBBarProgressView.
1 parent 2f11106 commit a25be7e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

MBProgressHUD.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,8 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
845845

846846
@implementation MBBarProgressView
847847

848+
#pragma mark - Lifecycle
849+
848850
- (id)init {
849851
return [self initWithFrame:CGRectMake(.0f, .0f, 120.0f, 20.0f)];
850852
}
@@ -863,7 +865,6 @@ - (id)initWithFrame:(CGRect)frame {
863865
return self;
864866
}
865867

866-
867868
- (void)dealloc {
868869
[self unregisterFromKVO];
869870
#if !__has_feature(objc_arc)
@@ -874,6 +875,8 @@ - (void)dealloc {
874875
#endif
875876
}
876877

878+
#pragma mark - Drawing
879+
877880
- (void)drawRect:(CGRect)rect {
878881
CGContextRef context = UIGraphicsGetCurrentContext();
879882

0 commit comments

Comments
 (0)