GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — update lib · devSC/WSProgressHUD@e05887f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • WSProgressHUD
    • MMMaterialDesignSpinner.m
    • WSProgressBundle.bundle
      • [email protected]
      • [email protected]
    • WSProgressHUD.m
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎WSProgressHUD/MMMaterialDesignSpinner.m‎

Copy file name to clipboardExpand all lines: WSProgressHUD/MMMaterialDesignSpinner.m
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ - (instancetype)initWithCoder:(NSCoder *)aDecoder {
3636

3737
- (void)awakeFromNib
3838
{
39+
[super awakeFromNib];
40+
3941
[self initialize];
4042
}
4143

Collapse file

‎WSProgressHUD/WSProgressBundle.bundle/[email protected]‎

Copy file name to clipboard
100755100644
1.21 KB
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎WSProgressHUD/WSProgressBundle.bundle/[email protected]‎

Copy file name to clipboard
100755100644
1.02 KB
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎WSProgressHUD/WSProgressHUD.m‎

Copy file name to clipboardExpand all lines: WSProgressHUD/WSProgressHUD.m
+16-13Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ - (void)showHudViewWithAnimation
419419
delay:0
420420
options:UIViewAnimationOptionAllowUserInteraction | UIViewAnimationCurveEaseOut | UIViewAnimationOptionBeginFromCurrentState
421421
animations:^{
422-
self.hudView.transform = CGAffineTransformScale(self.hudView.transform, 1/1.2, 1/1.2);
422+
self.hudView.transform = CGAffineTransformIdentity;
423423
self.hudView.alpha = 1;
424424
}
425425
completion:^(BOOL finished){
@@ -467,24 +467,27 @@ - (void)dismiss
467467
self.hudView.transform = CGAffineTransformIdentity;
468468
[UIView animateWithDuration:WSProgressHUDDismissDuration
469469
delay:0
470-
options:UIViewAnimationOptionAllowUserInteraction | UIViewAnimationCurveEaseOut
470+
options:UIViewAnimationOptionAllowUserInteraction | UIViewAnimationCurveEaseOut | UIViewAnimationOptionBeginFromCurrentState
471471
animations:^{
472472
self.hudView.transform = CGAffineTransformScale(self.hudView.transform, .8, .8);
473473
self.hudView.alpha = 0;
474474
}
475475
completion:^(BOOL finished){
476-
self.hudView.transform = CGAffineTransformIdentity;
477476

478-
[self.overlayView removeFromSuperview];
479-
480-
self.userInteractionEnabled = NO;
481-
482-
[self stopIndicatorAnimation];
483-
484-
//Call drawInRact
485-
[self setNeedsDisplay];
486-
487-
[self setProgressHUDIndicatorStyle:self.indicatorStyle];
477+
if (self.hudView.alpha == 0) {
478+
self.hudView.transform = CGAffineTransformIdentity;
479+
480+
[self.overlayView removeFromSuperview];
481+
482+
self.userInteractionEnabled = NO;
483+
484+
[self stopIndicatorAnimation];
485+
486+
//Call drawInRact
487+
[self setNeedsDisplay];
488+
489+
[self setProgressHUDIndicatorStyle:self.indicatorStyle];
490+
}
488491
}];
489492
}
490493

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.