Переглянути джерело

Merge pull request #718 from deltachat/remove-hud-handler

Remove hud handler
cyBerta 5 роки тому
батько
коміт
61f673496a
52 змінених файлів з 767 додано та 4008 видалено
  1. 0 1
      Podfile
  2. 1 5
      Podfile.lock
  3. 0 78
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUD-Defines.h
  4. 0 306
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUD.h
  5. 0 1046
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUD.m
  6. 0 43
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDAnimation.h
  7. 0 48
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDAnimation.m
  8. 0 21
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDErrorIndicatorView.h
  9. 0 52
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDErrorIndicatorView.m
  10. 0 30
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeAnimation.h
  11. 0 56
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeAnimation.m
  12. 0 37
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeZoomAnimation.h
  13. 0 77
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeZoomAnimation.m
  14. 0 25
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDImageIndicatorView.h
  15. 0 21
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDImageIndicatorView.m
  16. 0 28
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndeterminateIndicatorView.h
  17. 0 44
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndeterminateIndicatorView.m
  18. 0 57
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndicatorView.h
  19. 0 103
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndicatorView.m
  20. 0 38
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDPieIndicatorView.h
  21. 0 171
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDPieIndicatorView.m
  22. 0 53
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDRingIndicatorView.h
  23. 0 194
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDRingIndicatorView.m
  24. 0 37
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDShadow.h
  25. 0 30
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDShadow.m
  26. 0 21
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDSuccessIndicatorView.h
  27. 0 52
      Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDSuccessIndicatorView.m
  28. 0 20
      Pods/JGProgressHUD/LICENSE.txt
  29. 0 174
      Pods/JGProgressHUD/README.md
  30. 1 5
      Pods/Manifest.lock
  31. 738 829
      Pods/Pods.xcodeproj/project.pbxproj
  32. 0 26
      Pods/Target Support Files/JGProgressHUD/JGProgressHUD-Info.plist
  33. 0 5
      Pods/Target Support Files/JGProgressHUD/JGProgressHUD-dummy.m
  34. 0 12
      Pods/Target Support Files/JGProgressHUD/JGProgressHUD-prefix.pch
  35. 0 29
      Pods/Target Support Files/JGProgressHUD/JGProgressHUD-umbrella.h
  36. 0 6
      Pods/Target Support Files/JGProgressHUD/JGProgressHUD.modulemap
  37. 0 10
      Pods/Target Support Files/JGProgressHUD/JGProgressHUD.xcconfig
  38. 0 24
      Pods/Target Support Files/JGProgressHUD/ResourceBundle-JGProgressHUD-JGProgressHUD-Info.plist
  39. 0 24
      Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios-acknowledgements.markdown
  40. 0 30
      Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios-acknowledgements.plist
  41. 0 2
      Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios-frameworks.sh
  42. 4 4
      Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios.debug.xcconfig
  43. 4 4
      Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios.release.xcconfig
  44. 3 3
      Pods/Target Support Files/Pods-deltachat-iosTests/Pods-deltachat-iosTests.debug.xcconfig
  45. 3 3
      Pods/Target Support Files/Pods-deltachat-iosTests/Pods-deltachat-iosTests.release.xcconfig
  46. 0 6
      deltachat-ios.xcodeproj/project.pbxproj
  47. 1 0
      deltachat-ios/Controller/AccountSetupController.swift
  48. 1 0
      deltachat-ios/Controller/QrCodeReaderController.swift
  49. 7 44
      deltachat-ios/Controller/SettingsController.swift
  50. 1 1
      deltachat-ios/Controller/WelcomeViewController.swift
  51. 0 70
      deltachat-ios/Handler/HudHandler.swift
  52. 3 3
      deltachat-ios/Handler/ProgressAlertHandler.swift

+ 0 - 1
Podfile

@@ -12,7 +12,6 @@ target 'deltachat-ios' do
   # pod 'openssl-ios-bitcode'
   pod 'ReachabilitySwift'
   pod 'UICircularProgressRing'
-  pod 'JGProgressHUD'
   pod 'SwiftyBeaver'
   pod 'DBDebugToolkit'
   pod 'InputBarAccessoryView'

+ 1 - 5
Podfile.lock

@@ -3,7 +3,6 @@ PODS:
   - InputBarAccessoryView (4.3.1):
     - InputBarAccessoryView/Core (= 4.3.1)
   - InputBarAccessoryView/Core (4.3.1)
-  - JGProgressHUD (2.0.3)
   - KK-ALCameraViewController (4.1.0)
   - ReachabilitySwift (4.3.1)
   - SCSiriWaveformView (1.1.1)
@@ -15,7 +14,6 @@ PODS:
 DEPENDENCIES:
   - DBDebugToolkit
   - InputBarAccessoryView
-  - JGProgressHUD
   - KK-ALCameraViewController
   - ReachabilitySwift
   - SCSiriWaveformView
@@ -28,7 +26,6 @@ SPEC REPOS:
   trunk:
     - DBDebugToolkit
     - InputBarAccessoryView
-    - JGProgressHUD
     - KK-ALCameraViewController
     - ReachabilitySwift
     - SCSiriWaveformView
@@ -40,7 +37,6 @@ SPEC REPOS:
 SPEC CHECKSUMS:
   DBDebugToolkit: c04bb6f618051d3de447a4b4323f37826116cfed
   InputBarAccessoryView: 58a348be7ea2736c7eec60e5c315511c2dbb39fd
-  JGProgressHUD: 12b20a8f4ffe05258f8635c1ab92816e451f904d
   KK-ALCameraViewController: ea8d8b24c9a7b92f61508a5a41ef8332f4ef7903
   ReachabilitySwift: 4032e2f59586e11e3b0ebe15b167abdd587a388b
   SCSiriWaveformView: 15b9dd6f94c7536e2032b34a35c6ff74d38c7411
@@ -49,6 +45,6 @@ SPEC CHECKSUMS:
   SwiftyBeaver: 4cc0080d2e23f980652e28978db11a5c9da39165
   UICircularProgressRing: 0ff679b05a17f15ad6301a7886686837b8c301a9
 
-PODFILE CHECKSUM: a98070d2fb3a559fc76c7d76ff4cf4ea68108ac1
+PODFILE CHECKSUM: e77a2fa24035faca1ef6498d4d167f7114315861
 
 COCOAPODS: 1.8.4

+ 0 - 78
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUD-Defines.h

@@ -1,78 +0,0 @@
-//
-//  JGProgressHUD-Defines.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 28.04.15.
-//  Copyright (c) 2015 Jonas Gessner. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-/**
- Positions of the HUD.
- */
-typedef NS_ENUM(NSUInteger, JGProgressHUDPosition) {
-    /** Center position. */
-    JGProgressHUDPositionCenter = 0,
-    /** Top left position. */
-    JGProgressHUDPositionTopLeft,
-    /** Top center position. */
-    JGProgressHUDPositionTopCenter,
-    /** Top right position. */
-    JGProgressHUDPositionTopRight,
-    /** Center left position. */
-    JGProgressHUDPositionCenterLeft,
-    /** Center right position. */
-    JGProgressHUDPositionCenterRight,
-    /** Bottom left position. */
-    JGProgressHUDPositionBottomLeft,
-    /** Bottom center position. */
-    JGProgressHUDPositionBottomCenter,
-    /** Bottom right position. */
-    JGProgressHUDPositionBottomRight
-};
-
-/**
- Appearance styles of the HUD.
- */
-typedef NS_ENUM(NSUInteger, JGProgressHUDStyle) {
-    /** Extra light HUD with dark elements. */
-    JGProgressHUDStyleExtraLight = 0,
-    /** Light HUD with dark elemets. */
-    JGProgressHUDStyleLight,
-    /** Dark HUD with light elements. */
-    JGProgressHUDStyleDark
-};
-
-#if TARGET_OS_IOS
-/**
- Interaction types.
- */
-typedef NS_ENUM(NSUInteger, JGProgressHUDInteractionType) {
-    /** Block all touches. No interaction behin the HUD is possible. */
-    JGProgressHUDInteractionTypeBlockAllTouches = 0,
-    /** Block touches on the HUD view. */
-    JGProgressHUDInteractionTypeBlockTouchesOnHUDView,
-    /** Block no touches. */
-    JGProgressHUDInteractionTypeBlockNoTouches
-};
-#endif
-
-/**
- Parallax Modes.
- */
-typedef NS_ENUM(NSUInteger, JGProgressHUDParallaxMode) {
-    /** Follows the device setting for parallax. If "Reduce Motion" is enabled, no parallax effect is added to the HUD, if "Reduce Motion" is disabled the HUD will have a parallax effect. This behaviour is only supported on iOS 8 and higher. */
-    JGProgressHUDParallaxModeDevice = 0,
-    /** Always adds a parallax effect to the HUD. Parallax is only supported on iOS 7 and higher. */
-    JGProgressHUDParallaxModeAlwaysOn,
-    /** Never adds a parallax effect to the HUD. */
-    JGProgressHUDParallaxModeAlwaysOff
-};
-
-#ifndef fequal
-/**
- Macro for safe floating point comparison (for internal use in JGProgressHUD).
- */
-#define fequal(a,b) (fabs((a) - (b)) < FLT_EPSILON)
-#endif

+ 0 - 306
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUD.h

@@ -1,306 +0,0 @@
-//
-//  JGProgressHUD.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUD-Defines.h"
-#import "JGProgressHUDShadow.h"
-#import "JGProgressHUDAnimation.h"
-#import "JGProgressHUDFadeAnimation.h"
-#import "JGProgressHUDFadeZoomAnimation.h"
-#import "JGProgressHUDIndicatorView.h"
-#import "JGProgressHUDErrorIndicatorView.h"
-#import "JGProgressHUDSuccessIndicatorView.h"
-#import "JGProgressHUDRingIndicatorView.h"
-#import "JGProgressHUDPieIndicatorView.h"
-#import "JGProgressHUDIndeterminateIndicatorView.h"
-
-@protocol JGProgressHUDDelegate;
-
-/**
- A HUD to indicate progress, success, error, warnings or other notifications to the user.
-@discussion @c JGProgressHUD respects its @c layoutMargins when positioning the HUD view. Additionally, on iOS 11 if @c insetsLayoutMarginsFromSafeArea is set to @c YES (default) the @c layoutMargins additionally contain the @c safeAreaInsets.
- @note Remember to call every method from the main thread! UIKit => main thread!
- @attention You may not add JGProgressHUD to a view which has an alpha value < 1.0 or to a view which is a subview of a view with an alpha value < 1.0.
- */
-@interface JGProgressHUD : UIView
-
-/**
- Designated initializer.
- @param style The appearance style of the HUD.
- */
-- (instancetype __nonnull)initWithStyle:(JGProgressHUDStyle)style;
-
-/**
- Convenience initializer.
- @param style The appearance style of the HUD.
- */
-+ (instancetype __nonnull)progressHUDWithStyle:(JGProgressHUDStyle)style;
-
-/**
- The appearance style of the HUD.
- @b Default: JGProgressHUDStyleExtraLight.
- */
-@property (nonatomic, assign, readonly) JGProgressHUDStyle style;
-
-/** The view in which the HUD is presented. */
-@property (nonatomic, weak, readonly, nullable) UIView *targetView;
-
-/**
- The delegate of the HUD.
- @sa JGProgressHUDDelegate.
- */
-@property (nonatomic, weak, nullable) id <JGProgressHUDDelegate> delegate;
-
-/** The actual HUD view visible on screen. You may add animations to this view. */
-@property (nonatomic, strong, readonly, nonnull) UIView *HUDView;
-
-/**
- The content view inside the @c HUDView. If you want to add additional views to the HUD you should add them as subview to the @c contentView.
- */
-@property (nonatomic, strong, readonly, nonnull) UIView *contentView;
-
-/**
- The label used to present text on the HUD. Set the @c text or @c attributedText property of this label to change the displayed text. You may not change the label's @c frame or @c bounds.
- */
-@property (nonatomic, strong, readonly, nonnull) UILabel *textLabel;
-
-/**
- The label used to present detail text on the HUD. Set the @c text or @c attributedText property of this label to change the displayed text. You may not change the label's @c frame or @c bounds.
- */
-@property (nonatomic, strong, readonly, nonnull) UILabel *detailTextLabel;
-
-/**
- The indicator view. You can assign a custom subclass of @c JGProgressHUDIndicatorView to this property or one of the default indicator views (if you do so, you should assign it before showing the HUD). This value is optional.
- @b Default: JGProgressHUDIndeterminateIndicatorView.
- */
-@property (nonatomic, strong, nullable) JGProgressHUDIndicatorView *indicatorView;
-
-/**
- The shadow cast by the @c HUDView. This value is optional. Setting this to @c nil means no shadow is cast by the HUD.
- @b Default: nil.
- */
-@property (nonatomic, strong, nullable) JGProgressHUDShadow *shadow;
-
-/**
- The position of the HUD inside the hosting view's frame, or inside the specified frame.
- @b Default: JGProgressHUDPositionCenter
- */
-@property (nonatomic, assign) JGProgressHUDPosition position;
-
-/**
- The animation used for showing and dismissing the HUD.
- @b Default: JGProgressHUDFadeAnimation.
- */
-@property (nonatomic, strong, nonnull) JGProgressHUDAnimation *animation;
-
-#if TARGET_OS_IOS
-/**
- Interaction type of the HUD. Determines whether touches should be let through to the views behind the HUD.
- @sa JGProgressHUDInteractionType.
- @b Default: JGProgressHUDInteractionTypeBlockAllTouches.
- */
-@property (nonatomic, assign) JGProgressHUDInteractionType interactionType;
-#endif
-
-/**
- Parallax mode for the HUD. This setting determines whether the HUD should have a parallax (@c UIDeviceMotion) effect. This effect is controlled by device motion on iOS and remote touchpad panning gestures on tvOS.
- @sa JGProgressHUDParallaxMode.
- @b Default: JGProgressHUDParallaxModeDevice.
- */
-@property (nonatomic, assign) JGProgressHUDParallaxMode parallaxMode;
-
-#if TARGET_OS_TV
-/**
- When this property is set to @c YES the HUD will try to become focused, which prevents interactions with the @c targetView. If set to @c NO the HUD will not become focused and interactions with @c targetView remain possible. Default: @c YES.
- */
-@property (nonatomic, assign) BOOL wantsFocus;
-#endif
-
-/**
- If the HUD should always have the same width and height.
- @b Default: NO.
- */
-@property (nonatomic, assign) BOOL square;
-
-/**
- Internally @c JGProgressHUD uses an @c UIVisualEffectView with a @c UIBlurEffect. A second @c UIVisualEffectView can be added on top of that with a @c UIVibrancyEffect which amplifies and adjusts the color of content layered behind the view, allowing content placed inside the contentView to become more vivid. This flag sets whether the @c UIVibrancyEffect should be used. Using the vibrancy effect can sometimes, depending on the contents of the display, result in a weird look (especially on iOS < 9.3).
- @b Default: NO.
- */
-@property (nonatomic, assign) BOOL vibrancyEnabled;
-
-/**
- The radius used for rounding the four corners of the HUD view.
- @b Default: 10.0.
- */
-@property (nonatomic, assign) CGFloat cornerRadius;
-
-/**
- Insets the contents of the HUD.
- @b Default: (20, 20, 20, 20).
- */
-@property (nonatomic, assign) UIEdgeInsets contentInsets;
-
-/**
- Insets the HUD from the frame of the hosting view or from the specified frame to present the HUD from.
- @b Default: (20, 20, 20, 20).
- */
-@property (nonatomic, assign) UIEdgeInsets marginInsets __attribute((deprecated(("Use layoutMargins instead."))));
-
-/**
- @attention This property is deprecated and does nothing.
- */
-@property (nonatomic, assign) NSTimeInterval layoutChangeAnimationDuration __attribute((deprecated(("Use UIView animation to animate layout changes. This allows setting a custom animation duration, animaiton curve and other options."))));
-
-/**
- @return Whether the HUD is visible on screen.
- */
-@property (nonatomic, assign, readonly, getter = isVisible) BOOL visible;
-
-/**
- The progress to display using the @c progressIndicatorView. A change of this property is not animated. Use the @c setProgress:animated: method for an animated progress change.
- @b Default: 0.0.
- */
-@property (nonatomic, assign) float progress;
-
-/**
- Adjusts the current progress shown by the receiver, optionally animating the change.
- 
- The current progress is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the completion of the task. The default value is 0.0. Values less than 0.0 and greater than 1.0 are pinned to those limits.
- @param progress The new progress value.
- @param animated YES if the change should be animated, NO if the change should happen immediately.
- */
-- (void)setProgress:(float)progress animated:(BOOL)animated;
-
-/**
- Specifies a minimum time that the HUD will be on-screen. Useful to prevent the HUD from flashing quickly on the screen when indeterminate tasks complete more quickly than expected.
- @b Default: 0.0.
- */
-@property (nonatomic, assign) NSTimeInterval minimumDisplayTime;
-
-/**
- Determines whether Voice Over announcements should be made upon displaying the HUD (if Voice Over is active).
- @b Default: YES
- */
-@property (nonatomic, assign) BOOL voiceOverEnabled;
-
-#if TARGET_OS_IOS
-/**
- A block to be invoked when the HUD view is tapped.
- @note The interaction type of the HUD must be @c JGProgressHUDInteractionTypeBlockTouchesOnHUDView or @c JGProgressHUDInteractionTypeBlockAllTouches, otherwise this block won't be fired.
- */
-@property (nonatomic, copy, nullable) void (^tapOnHUDViewBlock)(JGProgressHUD *__nonnull HUD);
-
-/**
- A block to be invoked when the area outside of the HUD view is tapped.
- @note The interaction type of the HUD must be @c JGProgressHUDInteractionTypeBlockAllTouches, otherwise this block won't be fired.
- */
-@property (nonatomic, copy, nullable) void (^tapOutsideBlock)(JGProgressHUD *__nonnull HUD);
-#endif
-
-/**
- Shows the HUD animated. You should preferably show the HUD in a UIViewController's view. The HUD will be repositioned in response to rotation and keyboard show/hide notifications.
- @param view The view to show the HUD in. The frame of the @c view will be used to calculate the position of the HUD.
- */
-- (void)showInView:(UIView *__nonnull)view;
-
-/**
- Shows the HUD. You should preferably show the HUD in a UIViewController's view.  The HUD will be repositioned in response to rotation and keyboard show/hide notifications.
- @param view The view to show the HUD in. The frame of the @c view will be used to calculate the position of the HUD.
- @param animated If the HUD should show with an animation.
- */
-- (void)showInView:(UIView *__nonnull)view animated:(BOOL)animated;
-
-/** Dismisses the HUD animated. */
-- (void)dismiss;
-
-/**
- Dismisses the HUD.
- @param animated If the HUD should dismiss with an animation.
- */
-- (void)dismissAnimated:(BOOL)animated;
-
-/**
- Dismisses the HUD animated after a delay.
- @param delay The delay until the HUD will be dismissed.
- */
-- (void)dismissAfterDelay:(NSTimeInterval)delay;
-
-/**
- Dismisses the HUD after a delay.
- @param delay The delay until the HUD will be dismissed.
- @param animated If the HUD should dismiss with an animation.
- */
-- (void)dismissAfterDelay:(NSTimeInterval)delay animated:(BOOL)animated;
-
-@end
-
-@interface JGProgressHUD (HUDManagement)
-
-/**
- @param view The view to return all visible progress HUDs for.
- @return All visible progress HUDs in the view.
- */
-+ (NSArray<JGProgressHUD *> *__nonnull)allProgressHUDsInView:(UIView *__nonnull)view;
-
-/**
- @param view The view to return all visible progress HUDs for.
- @return All visible progress HUDs in the view and its subviews.
- */
-+ (NSArray<JGProgressHUD *> *__nonnull)allProgressHUDsInViewHierarchy:(UIView *__nonnull)view;
-
-@end
-
-@interface JGProgressHUD (Deprecated)
-
-#define JG_PROGRESS_HUD_SHOW_IN_RECT_DEPRECATED __attribute((deprecated(("Showing a HUD in a specific frame is no longer supported. Use a blank UIView with the desired frame and present the HUD in that view to achieve this behaviour."))))
-
-/**
- Shows the HUD animated. You should preferably show the HUD in a UIViewController's view.
- @param view The view to show the HUD in.
- @param rect The rect allocated in @c view for displaying the HUD.
- */
-- (void)showInRect:(CGRect)rect inView:(UIView *__nonnull)view JG_PROGRESS_HUD_SHOW_IN_RECT_DEPRECATED;
-
-/**
- Shows the HUD. You should preferably show the HUD in a UIViewController's view.
- @param view The view to show the HUD in.
- @param rect The rect allocated in @c view for displaying the HUD.
- @param animated If the HUD should show with an animation.
- */
-- (void)showInRect:(CGRect)rect inView:(UIView *__nonnull)view animated:(BOOL)animated JG_PROGRESS_HUD_SHOW_IN_RECT_DEPRECATED;
-
-@end
-
-@protocol JGProgressHUDDelegate <NSObject>
-
-@optional
-
-/**
- Called before the HUD will appear.
- @param view The view in which the HUD is presented.
- */
-- (void)progressHUD:(JGProgressHUD *__nonnull)progressHUD willPresentInView:(UIView *__nonnull)view;
-
-/**
- Called after the HUD appeared.
- @param view The view in which the HUD is presented.
- */
-- (void)progressHUD:(JGProgressHUD *__nonnull)progressHUD didPresentInView:(UIView *__nonnull)view;
-
-/**
- Called before the HUD will disappear.
- @param view The view in which the HUD is presented and will be dismissed from.
- */
-- (void)progressHUD:(JGProgressHUD *__nonnull)progressHUD willDismissFromView:(UIView *__nonnull)view;
-
-/**
- Called after the HUD has disappeared.
- @param view The view in which the HUD was presented and was be dismissed from.
- */
-- (void)progressHUD:(JGProgressHUD *__nonnull)progressHUD didDismissFromView:(UIView *__nonnull)view;
-
-@end

+ 0 - 1046
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUD.m

@@ -1,1046 +0,0 @@
-//
-//  JGProgressHUD.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUD.h"
-#import <QuartzCore/QuartzCore.h>
-#import "JGProgressHUDFadeAnimation.h"
-#import "JGProgressHUDIndeterminateIndicatorView.h"
-
-#if !__has_feature(objc_arc)
-#error "JGProgressHUD requires ARC!"
-#endif
-
-static CGRect JGProgressHUD_CGRectIntegral(CGRect rect) {
-    CGFloat scale = [[UIScreen mainScreen] scale];
-    
-    return (CGRect){{((CGFloat)floor(rect.origin.x*scale))/scale, ((CGFloat)floor(rect.origin.y*scale))/scale}, {((CGFloat)ceil(rect.size.width*scale))/scale, ((CGFloat)ceil(rect.size.height*scale))/scale}};
-}
-
-@interface JGProgressHUD () {
-    BOOL _transitioning;
-    BOOL _updateAfterAppear;
-    
-    BOOL _dismissAfterTransitionFinished;
-    BOOL _dismissAfterTransitionFinishedWithAnimation;
-    
-    CFAbsoluteTime _displayTimestamp;
-    
-    JGProgressHUDIndicatorView *__nullable _indicatorViewAfterTransitioning;
-    
-    UIView *__nonnull _blurViewContainer;
-    UIView *__nonnull _shadowView;
-    CAShapeLayer *__nonnull _shadowMaskLayer;
-}
-
-@property (nonatomic, strong, readonly, nonnull) UIVisualEffectView *blurView;
-@property (nonatomic, strong, readonly, nonnull) UIVisualEffectView *vibrancyView;
-
-@end
-
-@interface JGProgressHUDAnimation (Private)
-
-@property (nonatomic, weak, nullable) JGProgressHUD *progressHUD;
-
-@end
-
-@implementation JGProgressHUD
-
-@synthesize HUDView = _HUDView;
-@synthesize blurView = _blurView;
-@synthesize vibrancyView = _vibrancyView;
-@synthesize textLabel = _textLabel;
-@synthesize detailTextLabel = _detailTextLabel;
-@synthesize indicatorView = _indicatorView;
-@synthesize animation = _animation;
-@synthesize contentView = _contentView;
-
-@dynamic visible;
-
-#pragma mark - Keyboard
-
-static CGRect keyboardFrame = (CGRect){{0.0, 0.0}, {0.0, 0.0}};
-
-#if TARGET_OS_IOS
-+ (void)keyboardFrameWillChange:(NSNotification *)notification {
-    keyboardFrame = [notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];
-    if (CGRectIsEmpty(keyboardFrame)) {
-        keyboardFrame = [notification.userInfo[UIKeyboardFrameBeginUserInfoKey] CGRectValue];
-    }
-}
-
-+ (void)keyboardFrameDidChange:(NSNotification *)notification {
-    keyboardFrame = [notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];
-}
-
-+ (void)keyboardDidHide {
-    keyboardFrame = CGRectZero;
-}
-
-+ (void)load {
-    [super load];
-    
-    @autoreleasepool {
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardFrameWillChange:) name:UIKeyboardWillChangeFrameNotification object:nil];
-        
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardFrameDidChange:) name:UIKeyboardDidChangeFrameNotification object:nil];
-        
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidHide) name:UIKeyboardDidHideNotification object:nil];
-    }
-}
-#endif
-
-+ (CGRect)currentKeyboardFrame {
-    return keyboardFrame;
-}
-
-#pragma mark - Initializers
-
-- (instancetype)init {
-    return [self initWithStyle:JGProgressHUDStyleExtraLight];
-}
-
-- (instancetype)initWithFrame:(CGRect __unused)frame {
-    return [self initWithStyle:JGProgressHUDStyleExtraLight];
-}
-
-/*
- Basic architecture:
- 
- * self covers the entire target view.
- * self.HUDView is a subview of self and has the size and position of the visible HUD. The layer has rounded corners set with self.cornerRadius. The layer does not clip to bounds.
- * _shadowView is a subview of self.HUDView and always covers the entire HUDView. The corners are also rounded in the same way as self.HUDView. It draws its shadow only on the outside by using a masking layer, so that the shadow does not interfere with the blur view.
- * _blurViewContainer is a subview of self.HUDView and always covers the entire self.HUDView. The corners are also rounded in the same way as self.HUDView but it additionally clips to bounds.
- * self.blurView is a subview of _blurViewContainer and provides the blur effect. The corners are not rounded and the view does not clip to bounds.
- * self.vibrancyView is a subview of self.blurView.contentView and provides the vibrancy effect. The corners are not rounded and the view does not clip to bounds.
- * self.contentView is a subview of self.vibrancyView.contentView. It does not always have the same frame as it's superview (during transitions).
- * self.contentView contains the labels and the indicator view.
- 
- */
-- (instancetype)initWithStyle:(JGProgressHUDStyle)style {
-    self = [super initWithFrame:CGRectZero];
-    
-    if (self) {
-        _style = style;
-        _voiceOverEnabled = YES;
-        
-        _HUDView = [[UIView alloc] init];
-        self.HUDView.backgroundColor = [UIColor clearColor];
-        [self addSubview:self.HUDView];
-        
-        _blurViewContainer = [[UIView alloc] init];
-        _blurViewContainer.backgroundColor = [UIColor clearColor];
-        _blurViewContainer.clipsToBounds = YES;
-        [self.HUDView addSubview:_blurViewContainer];
-        
-        _shadowView = [[UIView alloc] init];
-        _shadowView.backgroundColor = [UIColor blackColor];
-        _shadowView.userInteractionEnabled = NO;
-        _shadowView.layer.shadowOpacity = 1.0;
-        _shadowView.alpha = 0.0;
-        
-        _shadowMaskLayer = [CAShapeLayer layer];
-        _shadowMaskLayer.fillRule = kCAFillRuleEvenOdd;
-        _shadowMaskLayer.fillColor = [UIColor blackColor].CGColor;
-        _shadowMaskLayer.opacity = 1.0;
-        
-        _shadowView.layer.mask = _shadowMaskLayer;
-        
-        [self.HUDView addSubview:_shadowView];
-        
-        _indicatorView = [[JGProgressHUDIndeterminateIndicatorView alloc] init];
-        [self.indicatorView setUpForHUDStyle:self.style vibrancyEnabled:self.vibrancyEnabled];
-        
-        self.hidden = YES;
-        self.backgroundColor = [UIColor clearColor];
-        
-        self.contentInsets = UIEdgeInsetsMake(20.0, 20.0, 20.0, 20.0);
-        self.layoutMargins = UIEdgeInsetsMake(20.0, 20.0, 20.0, 20.0);
-        
-        self.cornerRadius = 10.0;
-        
-#if TARGET_OS_IOS
-        [self addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapped:)]];
-#elif TARGET_OS_TV
-        _wantsFocus = YES;
-#endif
-    }
-    
-    return self;
-}
-
-+ (instancetype)progressHUDWithStyle:(JGProgressHUDStyle)style {
-    return [(JGProgressHUD *)[self alloc] initWithStyle:style];
-}
-
-#pragma mark - Layout
-
-- (void)setHUDViewFrameCenterWithSize:(CGSize)size insetViewFrame:(CGRect)viewFrame {
-    CGRect frame = (CGRect){CGPointZero, size};
-    
-    switch (self.position) {
-        case JGProgressHUDPositionTopLeft:
-            frame.origin.x = CGRectGetMinX(viewFrame);
-            frame.origin.y = CGRectGetMinY(viewFrame);
-            break;
-            
-        case JGProgressHUDPositionTopCenter:
-            frame.origin.x = CGRectGetMidX(viewFrame) - size.width/2.0;
-            frame.origin.y = CGRectGetMinY(viewFrame);
-            break;
-            
-        case JGProgressHUDPositionTopRight:
-            frame.origin.x = CGRectGetMaxX(viewFrame) - size.width;
-            frame.origin.y = CGRectGetMinY(viewFrame);
-            break;
-            
-        case JGProgressHUDPositionCenterLeft:
-            frame.origin.x = CGRectGetMinX(viewFrame);
-            frame.origin.y = CGRectGetMidY(viewFrame) - size.height/2.0;
-            break;
-            
-        case JGProgressHUDPositionCenter:
-            frame.origin.x = CGRectGetMidX(viewFrame) - size.width/2.0;
-            frame.origin.y = CGRectGetMidY(viewFrame) - size.height/2.0;
-            break;
-            
-        case JGProgressHUDPositionCenterRight:
-            frame.origin.x = CGRectGetMaxX(viewFrame) - frame.size.width;
-            frame.origin.y = CGRectGetMidY(viewFrame) - size.height/2.0;
-            break;
-            
-        case JGProgressHUDPositionBottomLeft:
-            frame.origin.x = CGRectGetMinX(viewFrame);
-            frame.origin.y = CGRectGetMaxY(viewFrame) - size.height;
-            break;
-            
-        case JGProgressHUDPositionBottomCenter:
-            frame.origin.x = CGRectGetMidX(viewFrame) - size.width/2.0;
-            frame.origin.y = CGRectGetMaxY(viewFrame) - frame.size.height;
-            break;
-            
-        case JGProgressHUDPositionBottomRight:
-            frame.origin.x = CGRectGetMaxX(viewFrame) - size.width;
-            frame.origin.y = CGRectGetMaxY(viewFrame) - size.height;
-            break;
-    }
-    
-    CGRect oldHUDFrame = self.HUDView.frame;
-    CGRect updatedHUDFrame = JGProgressHUD_CGRectIntegral(frame);
-    
-    self.HUDView.frame = updatedHUDFrame;
-    _shadowView.frame = self.HUDView.bounds;
-    [self updateShadowViewMask];
-    
-    _blurViewContainer.frame = self.HUDView.bounds;
-    self.blurView.frame = self.HUDView.bounds;
-    self.vibrancyView.frame = self.HUDView.bounds;
-    
-    [UIView performWithoutAnimation:^{
-        self.contentView.frame = (CGRect){{(oldHUDFrame.size.width - updatedHUDFrame.size.width)/2.0, (oldHUDFrame.size.height - updatedHUDFrame.size.height)/2.0}, updatedHUDFrame.size};
-    }];
-    
-    self.contentView.frame = self.HUDView.bounds;
-}
-
-- (void)updateShadowViewMask {
-    if (CGRectIsEmpty(_shadowView.layer.bounds)) {
-        return;
-    }
-    
-    CGRect layerBounds = CGRectMake(0.0, 0.0, _shadowView.layer.bounds.size.width + self.shadow.radius*4.0, _shadowView.layer.bounds.size.height + self.shadow.radius*4.0);
-    
-    UIBezierPath *path = [UIBezierPath bezierPathWithRect:layerBounds];
-    
-    CGRect maskRect = CGRectInset(layerBounds, self.shadow.radius*2.0, self.shadow.radius*2.0);
-    
-    UIBezierPath *roundedPath = [UIBezierPath bezierPathWithRoundedRect:maskRect cornerRadius:self.cornerRadius];
-    
-    [path appendPath:roundedPath];
-    
-    _shadowMaskLayer.frame = CGRectInset(_shadowView.layer.bounds, -self.shadow.radius*2.0, -self.shadow.radius*2.0);
-    
-    CAAnimation *currentAnimation = [self.HUDView.layer animationForKey:@"position"];
-    if (currentAnimation != nil) {
-        [CATransaction begin];
-        
-        [CATransaction setAnimationDuration:currentAnimation.duration];
-        [CATransaction setAnimationTimingFunction:currentAnimation.timingFunction];
-        
-        CABasicAnimation *pathAnimation = [CABasicAnimation animationWithKeyPath:@"path"];
-        [_shadowMaskLayer addAnimation:pathAnimation forKey:@"path"];
-        
-        _shadowMaskLayer.path = path.CGPath;
-        
-        [CATransaction commit];
-    }
-    else {
-        _shadowMaskLayer.path = path.CGPath;
-        // Remove implicit CALayer animations:
-        [_shadowMaskLayer removeAllAnimations];
-    }
-}
-
-- (void)layoutHUD {
-    if (_transitioning) {
-        _updateAfterAppear = YES;
-        return;
-    }
-    
-    if (_targetView == nil) {
-        return;
-    }
-    
-    CGRect indicatorFrame = self.indicatorView.frame;
-    indicatorFrame.origin.y = self.contentInsets.top;
-    
-    CGRect insetFrame = [self insetFrameForView:self];
-    
-    CGFloat maxContentWidth = insetFrame.size.width - self.contentInsets.left - self.contentInsets.right;
-    CGFloat maxContentHeight = insetFrame.size.height - self.contentInsets.top - self.contentInsets.bottom;
-    
-    CGRect labelFrame = CGRectZero;
-    CGRect detailFrame = CGRectZero;
-    
-    CGFloat currentY = CGRectGetMaxY(indicatorFrame);
-    if (!CGRectIsEmpty(indicatorFrame)) {
-        currentY += 10.0;
-    }
-    
-    if (_textLabel.text.length > 0) {
-        _textLabel.preferredMaxLayoutWidth = maxContentWidth;
-        
-        CGSize neededSize = _textLabel.intrinsicContentSize;
-        neededSize.height = MIN(neededSize.height, maxContentHeight);
-        
-        labelFrame.size = neededSize;
-        labelFrame.origin.y = currentY;
-        currentY = CGRectGetMaxY(labelFrame) + 6.0;
-    }
-    
-    if (_detailTextLabel.text.length > 0) {
-        _detailTextLabel.preferredMaxLayoutWidth = maxContentWidth;
-        
-        CGSize neededSize = _detailTextLabel.intrinsicContentSize;
-        neededSize.height = MIN(neededSize.height, maxContentHeight);
-        
-        detailFrame.size = neededSize;
-        detailFrame.origin.y = currentY;
-    }
-    
-    CGSize size = CGSizeZero;
-    
-    CGFloat width = MIN(self.contentInsets.left + MAX(indicatorFrame.size.width, MAX(labelFrame.size.width, detailFrame.size.width)) + self.contentInsets.right, insetFrame.size.width);
-    
-    CGFloat height = MAX(CGRectGetMaxY(labelFrame), MAX(CGRectGetMaxY(detailFrame), CGRectGetMaxY(indicatorFrame))) + self.contentInsets.bottom;
-    
-    if (self.square) {
-        CGFloat uniSize = MAX(width, height);
-        
-        size.width = uniSize;
-        size.height = uniSize;
-        
-        CGFloat heightDelta = (uniSize-height)/2.0;
-        
-        labelFrame.origin.y += heightDelta;
-        detailFrame.origin.y += heightDelta;
-        indicatorFrame.origin.y += heightDelta;
-    }
-    else {
-        size.width = width;
-        size.height = height;
-    }
-    
-    CGPoint center = CGPointMake(size.width/2.0, size.height/2.0);
-    
-    indicatorFrame.origin.x = center.x - indicatorFrame.size.width/2.0;
-    labelFrame.origin.x = center.x - labelFrame.size.width/2.0;
-    detailFrame.origin.x = center.x - detailFrame.size.width/2.0;
-    
-    [UIView performWithoutAnimation:^{
-        self.indicatorView.frame = indicatorFrame;
-        self->_textLabel.frame = JGProgressHUD_CGRectIntegral(labelFrame);
-        self->_detailTextLabel.frame = JGProgressHUD_CGRectIntegral(detailFrame);
-    }];
-    
-    [self setHUDViewFrameCenterWithSize:size insetViewFrame:insetFrame];
-}
-
-- (CGRect)insetFrameForView:(UIView *)view {
-    CGRect localKeyboardFrame = [view convertRect:[[self class] currentKeyboardFrame] fromView:nil];
-    CGRect frame = view.bounds;
-    
-    if (!CGRectIsEmpty(localKeyboardFrame) && CGRectIntersectsRect(frame, localKeyboardFrame)) {
-        CGFloat keyboardMinY = CGRectGetMinY(localKeyboardFrame);
-        
-        if (@available(iOS 11, tvOS 11, *)) {
-            if (self.insetsLayoutMarginsFromSafeArea) {
-                // This makes sure that the bottom safe area inset is only respected when that area is not covered by the keyboard. When the keyboard covers the bottom area outside of the safe area it is not necessary to keep the bottom safe area insets part of the insets for the HUD.
-                keyboardMinY += self.safeAreaInsets.bottom;
-            }
-        }
-        
-        frame.size.height = MAX(MIN(frame.size.height, keyboardMinY), 0.0);
-    }
-    
-    return UIEdgeInsetsInsetRect(frame, view.layoutMargins);
-}
-
-- (void)applyCornerRadius {
-    self.HUDView.layer.cornerRadius = self.cornerRadius;
-    _blurViewContainer.layer.cornerRadius = self.cornerRadius;
-    _shadowView.layer.cornerRadius = self.cornerRadius;
-    
-    [self updateShadowViewMask];
-}
-
-#pragma mark - Showing
-
-- (void)cleanUpAfterPresentation {
-#if TARGET_OS_TV
-    if (self.wantsFocus) {
-        [self.targetView setNeedsFocusUpdate];
-    }
-#endif
-
-    self.hidden = NO;
-    
-    _transitioning = NO;
-    // Correct timestamp to the current time for animated presentations:
-    _displayTimestamp = CFAbsoluteTimeGetCurrent();
-    
-    if (_indicatorViewAfterTransitioning) {
-        self.indicatorView = _indicatorViewAfterTransitioning;
-        _indicatorViewAfterTransitioning = nil;
-        _updateAfterAppear = NO;
-    }
-    else if (_updateAfterAppear) {
-        [self layoutHUD];
-        _updateAfterAppear = NO;
-    }
-    
-    if ([self.delegate respondsToSelector:@selector(progressHUD:didPresentInView:)]){
-        [self.delegate progressHUD:self didPresentInView:self.targetView];
-    }
-    
-    if (_dismissAfterTransitionFinished) {
-        [self dismissAnimated:_dismissAfterTransitionFinishedWithAnimation];
-        _dismissAfterTransitionFinished = NO;
-        _dismissAfterTransitionFinishedWithAnimation = NO;
-    }
-    else if (self.voiceOverEnabled && UIAccessibilityIsVoiceOverRunning()) {
-        UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, self);
-    }
-}
-
-- (void)showInView:(UIView *)view {
-    [self showInView:view animated:YES];
-}
-
-- (void)layoutSubviews {
-    [super layoutSubviews];
-    
-    [self layoutHUD];
-}
-
-- (void)showInView:(UIView *)view animated:(BOOL)animated {
-    if (_transitioning) {
-        return;
-    }
-    else if (self.targetView != nil) {
-#if DEBUG
-        NSLog(@"[Warning] The HUD is already visible! Ignoring.");
-#endif
-        return;
-    }
-    
-    if ([self.delegate respondsToSelector:@selector(progressHUD:willPresentInView:)]) {
-        [self.delegate progressHUD:self willPresentInView:view];
-    }
-    
-    _targetView = view;
-    
-    self.frame = _targetView.bounds;
-    
-    [_targetView addSubview:self];
-    
-    self.translatesAutoresizingMaskIntoConstraints = NO;
-    
-    [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:_targetView attribute:NSLayoutAttributeWidth multiplier:1.0 constant:0.0].active = YES;
-    [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:_targetView attribute:NSLayoutAttributeHeight multiplier:1.0 constant:0.0].active = YES;
-    [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:_targetView attribute:NSLayoutAttributeCenterX multiplier:1.0 constant:0.0].active = YES;
-    [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeCenterY relatedBy:NSLayoutRelationEqual toItem:_targetView attribute:NSLayoutAttributeCenterY multiplier:1.0 constant:0.0].active = YES;
-
-    [self setNeedsLayout];
-    [self layoutIfNeeded];
-    
-    _transitioning = YES;
-    
-    _displayTimestamp = CFAbsoluteTimeGetCurrent();
-    
-    if (animated && self.animation != nil) {
-        [self.animation show];
-    }
-    else {
-        [self cleanUpAfterPresentation];
-    }
-    
-#if TARGET_OS_IOS
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardFrameChanged:) name:UIKeyboardWillChangeFrameNotification object:nil];
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardFrameChanged:) name:UIKeyboardDidChangeFrameNotification object:nil];
-#endif
-}
-
-#pragma mark - Dismissing
-
-- (void)cleanUpAfterDismissal {
-    self.hidden = YES;
-    [self removeFromSuperview];
-    
-    [self removeObservers];
-    
-    _transitioning = NO;
-    _dismissAfterTransitionFinished = NO;
-    _dismissAfterTransitionFinishedWithAnimation = NO;
-    
-    __typeof(self.targetView) targetView = self.targetView;
-    _targetView = nil;
-    
-    if ([self.delegate respondsToSelector:@selector(progressHUD:didDismissFromView:)]) {
-        [self.delegate progressHUD:self didDismissFromView:targetView];
-    }
-}
-
-- (void)dismiss {
-    [self dismissAnimated:YES];
-}
-
-- (void)dismissAnimated:(BOOL)animated {
-    if (_transitioning) {
-        _dismissAfterTransitionFinished = YES;
-        _dismissAfterTransitionFinishedWithAnimation = animated;
-        return;
-    }
-    
-    if (self.targetView == nil) {
-        return;
-    }
-    
-    if (self.minimumDisplayTime > 0.0 && _displayTimestamp > 0.0) {
-        CFAbsoluteTime displayedTime = CFAbsoluteTimeGetCurrent()-_displayTimestamp;
-        
-        if (displayedTime < self.minimumDisplayTime) {
-            NSTimeInterval delta = self.minimumDisplayTime-displayedTime;
-            
-            [self dismissAfterDelay:delta animated:animated];
-            
-            return;
-        }
-    }
-    
-    if ([self.delegate respondsToSelector:@selector(progressHUD:willDismissFromView:)]) {
-        [self.delegate progressHUD:self willDismissFromView:self.targetView];
-    }
-    
-    _transitioning = YES;
-    
-    if (animated && self.animation) {
-        [self.animation hide];
-    }
-    else {
-        [self cleanUpAfterDismissal];
-    }
-}
-
-- (void)dismissAfterDelay:(NSTimeInterval)delay {
-    [self dismissAfterDelay:delay animated:YES];
-}
-
-- (void)dismissAfterDelay:(NSTimeInterval)delay animated:(BOOL)animated {
-    __weak __typeof(self) weakSelf = self;
-    
-    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delay * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-        if (weakSelf) {
-            __strong __typeof(weakSelf) strongSelf = weakSelf;
-            if (strongSelf.visible) {
-                [strongSelf dismissAnimated:animated];
-            }
-        }
-    });
-}
-
-#pragma mark - Callbacks
-
-#if TARGET_OS_IOS
-- (void)tapped:(UITapGestureRecognizer *)t {
-    if (CGRectContainsPoint(self.contentView.bounds, [t locationInView:self.contentView])) {
-        if (self.tapOnHUDViewBlock != nil) {
-            self.tapOnHUDViewBlock(self);
-        }
-    }
-    else if (self.tapOutsideBlock != nil) {
-        self.tapOutsideBlock(self);
-    }
-}
-
-static UIViewAnimationOptions UIViewAnimationOptionsFromUIViewAnimationCurve(UIViewAnimationCurve curve) {
-    UIViewAnimationOptions testOptions = UIViewAnimationCurveLinear << 16;
-    
-    if (testOptions != UIViewAnimationOptionCurveLinear) {
-        NSLog(@"Unexpected implementation of UIViewAnimationOptionCurveLinear");
-    }
-    
-    return (UIViewAnimationOptions)(curve << 16);
-}
-
-- (void)keyboardFrameChanged:(NSNotification *)notification {
-    NSTimeInterval duration = [notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] doubleValue];
-    
-    UIViewAnimationCurve curve = (UIViewAnimationCurve)[notification.userInfo[UIKeyboardAnimationCurveUserInfoKey] unsignedIntegerValue];
-    
-    [UIView animateWithDuration:duration delay:0.0 options:UIViewAnimationOptionBeginFromCurrentState | UIViewAnimationOptionsFromUIViewAnimationCurve(curve) animations:^{
-        [self layoutHUD];
-    } completion:nil];
-}
-#endif
-
-- (void)updateMotionOnHUDView {
-    BOOL reduceMotionEnabled = UIAccessibilityIsReduceMotionEnabled();
-    
-    BOOL wantsParallax = ((self.parallaxMode == JGProgressHUDParallaxModeDevice && !reduceMotionEnabled) || self.parallaxMode == JGProgressHUDParallaxModeAlwaysOn);
-    BOOL hasParallax = (self.HUDView.motionEffects.count > 0);
-    
-    if (wantsParallax == hasParallax) {
-        return;
-    }
-    
-    if (!wantsParallax) {
-        self.HUDView.motionEffects = @[];
-    }
-    else {
-        UIInterpolatingMotionEffect *x = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.x" type:UIInterpolatingMotionEffectTypeTiltAlongHorizontalAxis];
-        
-        CGFloat maxMovement = 20.0;
-        
-        x.minimumRelativeValue = @(-maxMovement);
-        x.maximumRelativeValue = @(maxMovement);
-        
-        UIInterpolatingMotionEffect *y = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.y" type:UIInterpolatingMotionEffectTypeTiltAlongVerticalAxis];
-        
-        y.minimumRelativeValue = @(-maxMovement);
-        y.maximumRelativeValue = @(maxMovement);
-        
-        self.HUDView.motionEffects = @[x, y];
-    }
-}
-
-- (void)animationDidFinish:(BOOL)presenting {
-    if (presenting) {
-        [self cleanUpAfterPresentation];
-    }
-    else {
-        [self cleanUpAfterDismissal];
-    }
-}
-
-#pragma mark - Getters
-
-- (BOOL)isVisible {
-    return (self.superview != nil);
-}
-
-- (UIVisualEffectView *)blurView {
-    if (!_blurView) {
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(updateMotionOnHUDView) name:UIAccessibilityReduceMotionStatusDidChangeNotification object:nil];
-        
-        UIBlurEffectStyle effect;
-        
-        if (self.style == JGProgressHUDStyleDark) {
-            effect = UIBlurEffectStyleDark;
-        }
-        else if (self.style == JGProgressHUDStyleLight) {
-            effect = UIBlurEffectStyleLight;
-        }
-        else {
-            effect = UIBlurEffectStyleExtraLight;
-        }
-        
-        UIBlurEffect *blurEffect = [UIBlurEffect effectWithStyle:effect];
-        
-        _blurView = [[UIVisualEffectView alloc] initWithEffect:blurEffect];
-        
-        [self updateMotionOnHUDView];
-        
-        [_blurViewContainer addSubview:_blurView];
-        
-#if TARGET_OS_IOS
-        [self.contentView addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapped:)]];
-#endif
-    }
-    
-    return _blurView;
-}
-
-- (UIVisualEffectView *)vibrancyView {
-    if (!_vibrancyView) {
-        UIVibrancyEffect *vibrancyEffect = (self.vibrancyEnabled ? [UIVibrancyEffect effectForBlurEffect:(UIBlurEffect *)self.blurView.effect] : nil);
-        
-        _vibrancyView = [[UIVisualEffectView alloc] initWithEffect:vibrancyEffect];
-
-        [self.blurView.contentView addSubview:_vibrancyView];
-    }
-    
-    return _vibrancyView;
-}
-
-- (UIView *)contentView {
-    if (_contentView == nil) {
-        _contentView = [[UIView alloc] init];
-        [self.vibrancyView.contentView addSubview:_contentView];
-        
-        if (self.indicatorView != nil) {
-            [self.contentView addSubview:self.indicatorView];
-        }
-    }
-    
-    return _contentView;
-}
-
-- (UILabel *)textLabel {
-    if (!_textLabel) {
-        _textLabel = [[UILabel alloc] init];
-        _textLabel.backgroundColor = [UIColor clearColor];
-        _textLabel.textColor = (self.style == JGProgressHUDStyleDark ? [UIColor whiteColor] : [UIColor blackColor]);
-        _textLabel.textAlignment = NSTextAlignmentCenter;
-#if TARGET_OS_TV
-        CGFloat fontSize = 20.0;
-#else
-        CGFloat fontSize = 17.0;
-#endif
-        _textLabel.font = [UIFont boldSystemFontOfSize:fontSize];
-        _textLabel.numberOfLines = 0;
-        [_textLabel addObserver:self forKeyPath:@"attributedText" options:(NSKeyValueObservingOptions)kNilOptions context:NULL];
-        [_textLabel addObserver:self forKeyPath:@"text" options:(NSKeyValueObservingOptions)kNilOptions context:NULL];
-        [_textLabel addObserver:self forKeyPath:@"font" options:(NSKeyValueObservingOptions)kNilOptions context:NULL];
-        _textLabel.isAccessibilityElement = YES;
-        
-        [self.contentView addSubview:_textLabel];
-    }
-    
-    return _textLabel;
-}
-
-- (UILabel *)detailTextLabel {
-    if (!_detailTextLabel) {
-        _detailTextLabel = [[UILabel alloc] init];
-        _detailTextLabel.backgroundColor = [UIColor clearColor];
-        _detailTextLabel.textColor = (self.style == JGProgressHUDStyleDark ? [UIColor whiteColor] : [UIColor blackColor]);
-        _detailTextLabel.textAlignment = NSTextAlignmentCenter;
-#if TARGET_OS_TV
-        CGFloat fontSize = 17.0;
-#else
-        CGFloat fontSize = 15.0;
-#endif
-        _detailTextLabel.font = [UIFont systemFontOfSize:fontSize];
-        _detailTextLabel.numberOfLines = 0;
-        [_detailTextLabel addObserver:self forKeyPath:@"attributedText" options:(NSKeyValueObservingOptions)kNilOptions context:NULL];
-        [_detailTextLabel addObserver:self forKeyPath:@"text" options:(NSKeyValueObservingOptions)kNilOptions context:NULL];
-        [_detailTextLabel addObserver:self forKeyPath:@"font" options:(NSKeyValueObservingOptions)kNilOptions context:NULL];
-        _detailTextLabel.isAccessibilityElement = YES;
-        
-        [self.contentView addSubview:_detailTextLabel];
-    }
-    
-    return _detailTextLabel;
-}
-
-- (JGProgressHUDAnimation *)animation {
-    if (!_animation) {
-        self.animation = [JGProgressHUDFadeAnimation animation];
-    }
-    
-    return _animation;
-}
-
-#pragma mark - Setters
-
-#if TARGET_OS_TV
-- (void)setWantsFocus:(BOOL)wantsFocus {
-    if (self.wantsFocus == wantsFocus) {
-        return;
-    }
-
-    _wantsFocus = wantsFocus;
-
-    self.userInteractionEnabled = self.wantsFocus;
-
-    [self.targetView setNeedsFocusUpdate];
-}
-#endif
-
-- (void)setCornerRadius:(CGFloat)cornerRadius {
-    if (fequal(self.cornerRadius, cornerRadius)) {
-        return;
-    }
-    
-    _cornerRadius = cornerRadius;
-    
-    [self applyCornerRadius];
-}
-
-- (void)setShadow:(JGProgressHUDShadow *)shadow {
-    if (shadow == self.shadow) {
-        return;
-    }
-    
-    _shadow = shadow;
-    
-    [self updateShadowViewMask];
-    
-    if (_shadow != nil) {
-        _shadowView.layer.shadowColor = _shadow.color.CGColor;
-        _shadowView.layer.shadowOffset = _shadow.offset;
-        _shadowView.layer.shadowRadius = _shadow.radius;
-        
-        _shadowView.alpha = _shadow.opacity;
-    }
-    else {
-        _shadowView.layer.shadowOffset = CGSizeZero;
-        _shadowView.layer.shadowRadius = 0.0;
-        
-        _shadowView.alpha = 0.0;
-    }
-}
-
-- (void)setAnimation:(JGProgressHUDAnimation *)animation {
-    if (_animation == animation) {
-        return;
-    }
-    
-    _animation.progressHUD = nil;
-    
-    _animation = animation;
-    
-    _animation.progressHUD = self;
-}
-
-- (void)setParallaxMode:(JGProgressHUDParallaxMode)parallaxMode {
-    if (self.parallaxMode == parallaxMode) {
-        return;
-    }
-    
-    _parallaxMode = parallaxMode;
-    
-    [self updateMotionOnHUDView];
-}
-
-- (void)setPosition:(JGProgressHUDPosition)position {
-    if (self.position == position) {
-        return;
-    }
-    
-    _position = position;
-    [self layoutHUD];
-}
-
-- (void)setSquare:(BOOL)square {
-    if (self.square == square) {
-        return;
-    }
-    
-    _square = square;
-    
-    [self layoutHUD];
-}
-
-- (void)setVibrancyEnabled:(BOOL)vibrancyEnabled {
-    if (vibrancyEnabled == self.vibrancyEnabled) {
-        return;
-    }
-    
-    _vibrancyEnabled = vibrancyEnabled;
-    
-    UIVibrancyEffect *vibrancyEffect = (self.vibrancyEnabled ? [UIVibrancyEffect effectForBlurEffect:(UIBlurEffect *)self.blurView.effect] : nil);
-    
-    self.vibrancyView.effect = vibrancyEffect;
-    
-    [self.indicatorView setUpForHUDStyle:self.style vibrancyEnabled:self.vibrancyEnabled];
-}
-
-- (void)setIndicatorView:(JGProgressHUDIndicatorView *)indicatorView {
-    if (self.indicatorView == indicatorView) {
-        return;
-    }
-    
-    if (_transitioning) {
-        _indicatorViewAfterTransitioning = indicatorView;
-        return;
-    }
-    
-    [UIView performWithoutAnimation:^{
-        [self->_indicatorView removeFromSuperview];
-        self->_indicatorView = indicatorView;
-        
-        if (self.indicatorView != nil) {
-            [self.indicatorView setUpForHUDStyle:self.style vibrancyEnabled:self.vibrancyEnabled];
-            [self.contentView addSubview:self.indicatorView];
-        }
-    }];
-    
-    [self layoutHUD];
-}
-
-- (void)layoutMarginsDidChange {
-    [super layoutMarginsDidChange];
-    
-    [self layoutHUD];
-}
-
-- (void)setMarginInsets:(UIEdgeInsets)marginInsets {
-    [self setLayoutMargins:marginInsets];
-}
-
-- (UIEdgeInsets)marginInsets {
-    return [self layoutMargins];
-}
-
-- (void)setContentInsets:(UIEdgeInsets)contentInsets {
-    if (UIEdgeInsetsEqualToEdgeInsets(self.contentInsets, contentInsets)) {
-        return;
-    }
-    
-    _contentInsets = contentInsets;
-    
-    [self layoutHUD];
-}
-
-- (void)setProgress:(float)progress {
-    [self setProgress:progress animated:NO];
-}
-
-- (void)setProgress:(float)progress animated:(BOOL)animated {
-    if (fequal(self.progress, progress)) {
-        return;
-    }
-    
-    _progress = progress;
-    
-    [self.indicatorView setProgress:progress animated:animated];
-}
-
-#pragma mark - Overrides
-
-#if TARGET_OS_IOS
-- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
-    if (self.interactionType == JGProgressHUDInteractionTypeBlockNoTouches) {
-        return nil;
-    }
-    else {
-        UIView *view = [super hitTest:point withEvent:event];
-
-        if (self.interactionType == JGProgressHUDInteractionTypeBlockAllTouches) {
-            return view;
-        }
-        else if (self.interactionType == JGProgressHUDInteractionTypeBlockTouchesOnHUDView && view != self) {
-            return view;
-        }
-        
-        return nil;
-    }
-}
-#elif TARGET_OS_TV
-- (NSArray<id<UIFocusEnvironment>> *)preferredFocusEnvironments {
-    return @[self];
-}
-
-- (UIView *)preferredFocusedView {
-    return nil;
-}
-
-- (BOOL)canBecomeFocused {
-    return self.wantsFocus;
-}
-#endif
-
-- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
-    if (object == _textLabel || object == _detailTextLabel) {
-        [self layoutHUD];
-    }
-    else {
-        [super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
-    }
-}
-
-- (void)dealloc {
-    [self removeObservers];
-    
-    [_textLabel removeObserver:self forKeyPath:@"attributedText"];
-    [_textLabel removeObserver:self forKeyPath:@"text"];
-    [_textLabel removeObserver:self forKeyPath:@"font"];
-    
-    [_detailTextLabel removeObserver:self forKeyPath:@"attributedText"];
-    [_detailTextLabel removeObserver:self forKeyPath:@"text"];
-    [_detailTextLabel removeObserver:self forKeyPath:@"font"];
-}
-
-- (void)removeObservers {
-    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIAccessibilityReduceMotionStatusDidChangeNotification object:nil];
-    
-#if TARGET_OS_IOS
-    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillChangeFrameNotification object:nil];
-    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardDidChangeFrameNotification object:nil];
-#endif
-}
-
-@end
-
-@implementation JGProgressHUD (HUDManagement)
-
-+ (NSArray *)allProgressHUDsInView:(UIView *)view {
-    NSMutableArray *HUDs = [NSMutableArray array];
-    
-    for (UIView *v in view.subviews) {
-        if ([v isKindOfClass:[JGProgressHUD class]]) {
-            [HUDs addObject:v];
-        }
-    }
-    
-    return HUDs.copy;
-}
-
-+ (NSMutableArray *)_allProgressHUDsInViewHierarchy:(UIView *)view {
-    NSMutableArray *HUDs = [NSMutableArray array];
-    
-    for (UIView *v in view.subviews) {
-        if ([v isKindOfClass:[JGProgressHUD class]]) {
-            [HUDs addObject:v];
-        }
-        else {
-            [HUDs addObjectsFromArray:[self _allProgressHUDsInViewHierarchy:v]];
-        }
-    }
-    
-    return HUDs;
-}
-
-+ (NSArray *)allProgressHUDsInViewHierarchy:(UIView *)view {
-    return [self _allProgressHUDsInViewHierarchy:view].copy;
-}
-
-@end
-
-@implementation JGProgressHUD (Deprecated)
-
-- (void)showInRect:(CGRect __unused)rect inView:(UIView *)view {
-    [self showInView:view];
-}
-
-- (void)showInRect:(CGRect __unused)rect inView:(UIView *)view animated:(BOOL)animated {
-    [self showInView:view animated:animated];
-}
-
-@end

+ 0 - 43
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDAnimation.h

@@ -1,43 +0,0 @@
-//
-//  JGProgressHUDAnimation.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//  
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-
-@class JGProgressHUD;
-
-/**
- You may subclass this class to create a custom progress indicator view.
- */
-@interface JGProgressHUDAnimation : NSObject
-
-/** Convenience initializer. */
-+ (instancetype __nonnull)animation;
-
-/** The HUD using this animation. */
-@property (nonatomic, weak, readonly, nullable) JGProgressHUD *progressHUD;
-
-/**
- The @c progressHUD is hidden from screen with @c alpha = 1 and @c hidden = @c YES. Ideally, you should prepare the HUD for presentation, then set @c hidden to @c NO on the @c progressHUD and then perform the animation.
-  @post Call @c animationFinished.
- */
-- (void)show NS_REQUIRES_SUPER;
-
-/**
- The @c progressHUD wis visible on screen with @c alpha = 1 and @c hidden = @c NO. You should only perform the animation in this method, the @c progressHUD itself will take care of hiding itself and removing itself from superview.
- @post Call @c animationFinished.
- */
-- (void)hide NS_REQUIRES_SUPER;
-
-/**
- @pre This method should only be called at the end of a @c show or @c hide animaiton.
- @attention ALWAYS call this method after completing a @c show or @c hide animation.
- */
-- (void)animationFinished NS_REQUIRES_SUPER;
-
-@end

+ 0 - 48
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDAnimation.m

@@ -1,48 +0,0 @@
-//
-//  JGProgressHUDAnimation.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//  
-
-#import "JGProgressHUDAnimation.h"
-#import "JGProgressHUD.h"
-
-@interface JGProgressHUD (Private)
-
-- (void)animationDidFinish:(BOOL)presenting;
-
-@end
-
-@interface JGProgressHUDAnimation () {
-    BOOL _presenting;
-}
-
-@property (nonatomic, weak) JGProgressHUD *progressHUD;
-
-@end
-
-@implementation JGProgressHUDAnimation
-
-#pragma mark - Initializers
-
-+ (instancetype)animation {
-    return [[self alloc] init];
-}
-
-#pragma mark - Public methods
-
-- (void)show {
-    _presenting = YES;
-}
-
-- (void)hide {
-    _presenting = NO;
-}
-
-- (void)animationFinished {
-    [self.progressHUD animationDidFinish:_presenting];
-}
-
-@end

+ 0 - 21
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDErrorIndicatorView.h

@@ -1,21 +0,0 @@
-//
-//  JGProgressHUDErrorIndicatorView.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.08.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDImageIndicatorView.h"
-
-/**
- An image indicator showing a cross, representing a failed operation.
- */
-@interface JGProgressHUDErrorIndicatorView : JGProgressHUDImageIndicatorView
-
-/**
- Default initializer for this class.
- */
-- (instancetype __nonnull)init;
-
-@end

+ 0 - 52
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDErrorIndicatorView.m

@@ -1,52 +0,0 @@
-//
-//  JGProgressHUDErrorIndicatorView.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.08.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDErrorIndicatorView.h"
-#import "JGProgressHUD.h"
-
-@implementation JGProgressHUDErrorIndicatorView
-
-- (instancetype)initWithContentView:(UIView *__unused)contentView {
-    NSBundle *currentBundle = [NSBundle bundleForClass:[self class]];
-    NSURL *resourceBundleURL = [currentBundle URLForResource:@"JGProgressHUD" withExtension:@"bundle"];
-    NSBundle *resourceBundle = currentBundle;
-    if (resourceBundleURL) {
-        resourceBundle = [NSBundle bundleWithURL:resourceBundleURL] ?: currentBundle;
-    }
-
-    NSString *imgPath = [resourceBundle pathForResource:@"jg_hud_error" ofType:@"png"];
-    self = [super initWithImage:[[UIImage imageWithContentsOfFile:imgPath] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]];
-
-    return self;
-}
-
-- (instancetype)init {
-    return [self initWithContentView:nil];
-}
-
-- (void)updateAccessibility {
-    self.accessibilityLabel = NSLocalizedString(@"Error",);
-}
-
-- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled {
-    [super setUpForHUDStyle:style vibrancyEnabled:vibrancyEnabled];
-
-    if (style == JGProgressHUDStyleDark) {
-        self.contentView.tintColor = [UIColor whiteColor];
-    }
-    else {
-        self.contentView.tintColor = [UIColor blackColor];
-    }
-}
-
-- (void)tintColorDidChange {
-    [super tintColorDidChange];
-    self.contentView.tintColor = self.tintColor;
-}
-
-@end

+ 0 - 30
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeAnimation.h

@@ -1,30 +0,0 @@
-//
-//  JGProgressHUDFadeAnimation.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDAnimation.h"
-
-/**
- A simple fade animation that fades the HUD from alpha @c 0.0 to alpha @c 1.0.
- */
-@interface JGProgressHUDFadeAnimation : JGProgressHUDAnimation
-
-/**
- Duration of the animation.
- 
- @b Default: 0.4.
- */
-@property (nonatomic, assign) NSTimeInterval duration;
-
-/**
- Animation options
- 
- @b Default: UIViewAnimationOptionCurveEaseInOut.
- */
-@property (nonatomic, assign) UIViewAnimationOptions animationOptions;
-
-@end

+ 0 - 56
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeAnimation.m

@@ -1,56 +0,0 @@
-//
-//  JGProgressHUDFadeAnimation.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//  
-
-#import "JGProgressHUDFadeAnimation.h"
-#import "JGProgressHUD.h"
-
-@implementation JGProgressHUDFadeAnimation
-
-#pragma mark - Initializers
-
-- (instancetype)init {
-    self = [super init];
-    if (self) {
-        self.duration = 0.4;
-        self.animationOptions = UIViewAnimationOptionCurveEaseInOut;
-    }
-    return self;
-}
-
-- (void)setAnimationOptions:(UIViewAnimationOptions)animationOptions {
-    _animationOptions = (animationOptions | UIViewAnimationOptionBeginFromCurrentState);
-}
-
-#pragma mark - Showing
-
-- (void)show {
-    [super show];
-    
-    self.progressHUD.alpha = 0.0;
-    self.progressHUD.hidden = NO;
-    
-    [UIView animateWithDuration:self.duration delay:0.0 options:self.animationOptions animations:^{
-        self.progressHUD.alpha = 1.0;
-    } completion:^(BOOL __unused finished) {
-        [self animationFinished];
-    }];
-}
-
-#pragma mark - Hiding
-
-- (void)hide {
-    [super hide];
-    
-    [UIView animateWithDuration:self.duration delay:0.0 options:self.animationOptions animations:^{
-        self.progressHUD.alpha = 0.0;
-    } completion:^(BOOL __unused finished) {
-        [self animationFinished];
-    }];
-}
-
-@end

+ 0 - 37
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeZoomAnimation.h

@@ -1,37 +0,0 @@
-//
-//  JGProgressHUDFadeZoomAnimation.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//  
-
-#import "JGProgressHUDAnimation.h"
-
-/**
- An animation that fades in the HUD and expands the HUD from scale @c (0, 0) to a customizable scale, and finally to scale @c (1, 1), creating a bouncing effect.
- */
-@interface JGProgressHUDFadeZoomAnimation : JGProgressHUDAnimation
-
-/**
- Duration of the animation from or to the shrinked state.
- 
- @b Default: 0.2.
- */
-@property (nonatomic, assign) NSTimeInterval shrinkAnimationDuaration;
-
-/**
- Duration of the animation from or to the expanded state.
- 
- @b Default: 0.1.
- */
-@property (nonatomic, assign) NSTimeInterval expandAnimationDuaration;
-
-/**
- The scale to apply to the HUD when expanding.
- 
- @b Default: (1.1, 1.1).
- */
-@property (nonatomic, assign) CGSize expandScale;
-
-@end

+ 0 - 77
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDFadeZoomAnimation.m

@@ -1,77 +0,0 @@
-//
-//  JGProgressHUDFadeZoomAnimation.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDFadeZoomAnimation.h"
-#import "JGProgressHUD.h"
-
-@implementation JGProgressHUDFadeZoomAnimation
-
-#pragma mark - Initializers
-
-- (instancetype)init {
-    self = [super init];
-    if (self) {
-        self.shrinkAnimationDuaration = 0.2;
-        self.expandAnimationDuaration = 0.1;
-        self.expandScale = CGSizeMake(1.1, 1.1);
-    }
-    return self;
-}
-
-#pragma mark - Showing
-
-- (void)show {
-    [super show];
-    
-    self.progressHUD.alpha = 0.0;
-    self.progressHUD.HUDView.transform = CGAffineTransformMakeScale(0.1, 0.1);
-    
-    NSTimeInterval totalDuration = self.expandAnimationDuaration+self.shrinkAnimationDuaration;
-    
-    self.progressHUD.hidden = NO;
-    
-    [UIView animateWithDuration:totalDuration delay:0.0 options:(UIViewAnimationOptions)(UIViewAnimationOptionBeginFromCurrentState | UIViewAnimationOptionCurveEaseInOut) animations:^{
-        self.progressHUD.alpha = 1.0;
-    } completion:nil];
-    
-    [UIView animateWithDuration:self.shrinkAnimationDuaration delay:0.0 options:(UIViewAnimationOptions)(UIViewAnimationOptionCurveEaseIn | UIViewAnimationOptionBeginFromCurrentState) animations:^{
-        self.progressHUD.HUDView.transform = CGAffineTransformMakeScale(self.expandScale.width, self.expandScale.height);
-    } completion:^(BOOL __unused _finished) {
-        [UIView animateWithDuration:self.expandAnimationDuaration delay:0.0 options:(UIViewAnimationOptions)(UIViewAnimationOptionCurveEaseOut | UIViewAnimationOptionBeginFromCurrentState) animations:^{
-            self.progressHUD.HUDView.transform = CGAffineTransformIdentity;
-        } completion:^(BOOL __unused __finished) {
-            [self animationFinished];
-        }];
-    }];
-}
-
-#pragma mark - Hiding
-
-- (void)hide {
-    [super hide];
-    
-    NSTimeInterval totalDuration = self.expandAnimationDuaration+self.shrinkAnimationDuaration;
-    
-    [UIView animateWithDuration:totalDuration delay:0.0 options:(UIViewAnimationOptions)(UIViewAnimationOptionBeginFromCurrentState | UIViewAnimationOptionCurveEaseInOut) animations:^{
-        self.progressHUD.alpha = 0.0;
-    } completion:nil];
-    
-    [UIView animateWithDuration:self.expandAnimationDuaration delay:0.0 options:(UIViewAnimationOptions)(UIViewAnimationOptionCurveEaseIn | UIViewAnimationOptionBeginFromCurrentState) animations:^{
-        self.progressHUD.HUDView.transform = CGAffineTransformMakeScale(self.expandScale.width, self.expandScale.height);
-    } completion:^(BOOL __unused _finished) {
-        [UIView animateWithDuration:self.shrinkAnimationDuaration delay:0.0 options:(UIViewAnimationOptions)(UIViewAnimationOptionCurveEaseOut | UIViewAnimationOptionBeginFromCurrentState) animations:^{
-            self.progressHUD.HUDView.transform = CGAffineTransformMakeScale(0.1, 0.1);
-        } completion:^(BOOL __unused __finished) {
-            self.progressHUD.HUDView.transform = CGAffineTransformIdentity;
-            
-            [self animationFinished];
-        }];
-    }];
-}
-
-@end

+ 0 - 25
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDImageIndicatorView.h

@@ -1,25 +0,0 @@
-//
-//  JGProgressHUDImageIndicatorView.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 05.08.15.
-//  Copyright (c) 2015 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDIndicatorView.h"
-
-/**
- An indicator for displaying custom images. Supports animated images.
- 
- You may subclass this class to create a custom image indicator view.
- */
-@interface JGProgressHUDImageIndicatorView : JGProgressHUDIndicatorView
-
-/**
- Initializes the indicator view with an UIImageView showing the @c image.
- 
- @param image The image to show in the indicator view.
- */
-- (instancetype __nonnull)initWithImage:(UIImage *__nonnull)image;
-
-@end

+ 0 - 21
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDImageIndicatorView.m

@@ -1,21 +0,0 @@
-//
-//  JGProgressHUDImageIndicatorView.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 05.08.15.
-//  Copyright (c) 2015 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDImageIndicatorView.h"
-
-@implementation JGProgressHUDImageIndicatorView
-
-- (instancetype)initWithImage:(UIImage *)image {
-    UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
-    
-    self = [super initWithContentView:imageView];
-    
-    return self;
-}
-
-@end

+ 0 - 28
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndeterminateIndicatorView.h

@@ -1,28 +0,0 @@
-//
-//  JGProgressHUDIndeterminateIndicatorView.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.07.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUD-Defines.h"
-#import "JGProgressHUDIndicatorView.h"
-
-/**
- An indeterminate progress indicator showing a @c UIActivityIndicatorView.
- */
-@interface JGProgressHUDIndeterminateIndicatorView : JGProgressHUDIndicatorView
-
-/**
- Initializes the indicator view and sets the correct color to match the HUD style.
- */
-- (instancetype __nonnull)initWithHUDStyle:(JGProgressHUDStyle)style __attribute((deprecated(("This initializer is no longer needed. Use the init initializer method."))));
-
-/**
- Set the color of the activity indicator view.
- @param color The color to apply to the activity indicator view.
- */
-- (void)setColor:(UIColor *__nonnull)color;
-
-@end

+ 0 - 44
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndeterminateIndicatorView.m

@@ -1,44 +0,0 @@
-//
-//  JGProgressHUDIndeterminateIndicatorView.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.07.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDIndeterminateIndicatorView.h"
-
-@implementation JGProgressHUDIndeterminateIndicatorView
-
-- (instancetype)init {
-    UIActivityIndicatorView *activityIndicatorView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
-    [activityIndicatorView startAnimating];
-    
-    self = [super initWithContentView:activityIndicatorView];
-    return self;
-}
-
-- (instancetype)initWithHUDStyle:(JGProgressHUDStyle)style {
-    return [self init];
-}
-
-- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled {
-    [super setUpForHUDStyle:style vibrancyEnabled:vibrancyEnabled];
-    
-    if (style != JGProgressHUDStyleDark) {
-        self.color = [UIColor blackColor];
-    }
-    else {
-        self.color = [UIColor whiteColor];
-    }
-}
-
-- (void)setColor:(UIColor *)color {
-    [(UIActivityIndicatorView *)self.contentView setColor:color];
-}
-
-- (void)updateAccessibility {
-    self.accessibilityLabel = NSLocalizedString(@"Indeterminate progress",);
-}
-
-@end

+ 0 - 57
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndicatorView.h

@@ -1,57 +0,0 @@
-//
-//  JGProgressHUDIndicatorView.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//  
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-#import "JGProgressHUD-Defines.h"
-
-/** You may subclass this class to create a custom progress indicator view. */
-@interface JGProgressHUDIndicatorView : UIView
-
-/**
- Designated initializer for this class.
- 
- @param contentView The content view to place on the container view (the container is the JGProgressHUDIndicatorView).
- */
-- (instancetype __nonnull)initWithContentView:(UIView *__nullable)contentView;
-
-/** Use this method to set up the indicator view to fit the HUD style and vibrancy setting. This method is called by @c JGProgressHUD when the indicator view is added to the HUD and when the HUD's @c vibrancyEnabled property changes. This method may be called multiple times with different values. The default implementation does nothing. */
-- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled;
-
-/** Ranges from 0.0 to 1.0. */
-@property (nonatomic, assign) float progress;
-
-/**
- Adjusts the current progress shown by the receiver, optionally animating the change.
- 
- The current progress is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the completion of the task. The default value is 0.0. Values less than 0.0 and greater than 1.0 are pinned to those limits.
- 
- @param progress The new progress value.
- @param animated YES if the change should be animated, NO if the change should happen immediately.
- */
-- (void)setProgress:(float)progress animated:(BOOL)animated;
-
-/**
- The content view which displays the progress.
- */
-@property (nonatomic, strong, readonly, nullable) UIView *contentView;
-
-/** Schedules an accessibility update on the next run loop. */
-- (void)setNeedsAccessibilityUpdate;
-
-/**
- Runs @c updateAccessibility immediately if an accessibility update has been scheduled (through @c setNeedsAccessibilityUpdate) but has not executed yet.
- */
-- (void)updateAccessibilityIfNeeded;
-
-/**
- Override to set custom accessibility properties. This method gets called once when initializing the view and after calling @c setNeedsAccessibilityUpdate.
- */
-- (void)updateAccessibility;
-
-@end

+ 0 - 103
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDIndicatorView.m

@@ -1,103 +0,0 @@
-//
-//  JGProgressHUDIndicatorView.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//  
-
-#import "JGProgressHUDIndicatorView.h"
-#import "JGProgressHUD.h"
-
-@interface JGProgressHUDIndicatorView () {
-    BOOL _accessibilityUpdateScheduled;
-}
-
-+ (void)runBlock:(void (^)(void))block;
-
-@end
-
-static void runOnNextRunLoop(void (^block)(void)) {
-    [[NSRunLoop currentRunLoop] performSelector:@selector(runBlock:) target:[JGProgressHUDIndicatorView class] argument:(id)block order:0 modes:@[NSRunLoopCommonModes]];
-}
-
-@implementation JGProgressHUDIndicatorView
-
-#pragma mark - Initializers
-
-- (instancetype)initWithFrame:(CGRect __unused)frame {
-    return [self init];
-}
-
-- (instancetype)init {
-    return [self initWithContentView:nil];
-}
-
-- (instancetype)initWithContentView:(UIView *)contentView {
-    self = [super initWithFrame:(contentView ? contentView.frame : CGRectMake(0.0, 0.0, 50.0, 50.0))];
-    if (self) {
-        self.opaque = NO;
-        self.backgroundColor = [UIColor clearColor];
-        
-        self.isAccessibilityElement = YES;
-        [self setNeedsAccessibilityUpdate];
-        
-        if (contentView) {
-            _contentView = contentView;
-            
-            [self addSubview:self.contentView];
-        }
-    }
-    return self;
-}
-
-#pragma mark - Setup
-
-- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled {}
-
-#pragma mark - Accessibility
-
-+ (void)runBlock:(void (^)(void))block {
-    if (block != nil) {
-        block();
-    }
-}
-
-- (void)setNeedsAccessibilityUpdate {
-    if (!_accessibilityUpdateScheduled) {
-        _accessibilityUpdateScheduled = YES;
-        
-        runOnNextRunLoop(^{
-            [self updateAccessibilityIfNeeded];
-        });
-    }
-}
-
-- (void)updateAccessibilityIfNeeded {
-    if (_accessibilityUpdateScheduled) {
-        [self updateAccessibility];
-        _accessibilityUpdateScheduled = NO;
-    }
-}
-
-- (void)updateAccessibility {
-    self.accessibilityLabel = [NSLocalizedString(@"Loading",) stringByAppendingFormat:@" %.f %%", self.progress];
-}
-
-#pragma mark - Getters & Setters
-
-- (void)setProgress:(float)progress {
-    [self setProgress:progress animated:NO];
-}
-
-- (void)setProgress:(float)progress animated:(__unused BOOL)animated {
-    if (fequal(self.progress, progress)) {
-        return;
-    }
-    
-    _progress = progress;
-    
-    [self setNeedsAccessibilityUpdate];
-}
-
-@end

+ 0 - 38
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDPieIndicatorView.h

@@ -1,38 +0,0 @@
-//
-//  JGProgressHUDPieIndicatorView.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.07.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUD-Defines.h"
-#import "JGProgressHUDIndicatorView.h"
-
-/**
- A pie shaped determinate progress indicator.
- */
-@interface JGProgressHUDPieIndicatorView : JGProgressHUDIndicatorView
-
-/**
- Initializes the indicator view and sets the correct color to match the HUD style.
- */
-- (instancetype __nonnull)initWithHUDStyle:(JGProgressHUDStyle)style __attribute((deprecated(("This initializer is no longer needed. Use the init initializer method."))));
-
-/**
- Tint color of the Pie.
- @attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD's @c indicatorView property.
- 
- @b Default: White for JGProgressHUDStyleDark, otherwise black.
- */
-@property (nonatomic, strong, nonnull) UIColor *color;
-
-/**
- The background fill color inside the pie.
- @attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD's @c indicatorView property.
- 
- @b Default: Dark gray for JGProgressHUDStyleDark, otherwise light gray.
- */
-@property (nonatomic, strong, nonnull) UIColor *fillColor;
-
-@end

+ 0 - 171
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDPieIndicatorView.m

@@ -1,171 +0,0 @@
-//
-//  JGProgressHUDPieIndicatorView.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.07.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDPieIndicatorView.h"
-
-@interface JGProgressHUDPieIndicatorLayer : CALayer
-
-@property (nonatomic, assign) float progress;
-
-@property (nonatomic, weak) UIColor *color;
-
-@property (nonatomic, weak) UIColor *fillColor;
-
-@end
-
-@implementation JGProgressHUDPieIndicatorLayer
-
-@dynamic progress, color, fillColor;
-
-+ (BOOL)needsDisplayForKey:(NSString *)key {
-    return ([key isEqualToString:@"progress"] || [key isEqualToString:@"color"] || [key isEqualToString:@"fillColor"] || [super needsDisplayForKey:key]);
-}
-
-- (id <CAAction>)actionForKey:(NSString *)key {
-    if ([key isEqualToString:@"progress"]) {
-        CABasicAnimation *progressAnimation = [CABasicAnimation animation];
-        progressAnimation.fromValue = [self.presentationLayer valueForKey:key];
-        
-        progressAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
-        
-        return progressAnimation;
-    }
-    
-    return [super actionForKey:key];
-}
-
-- (void)drawInContext:(CGContextRef)ctx {
-    UIGraphicsPushContext(ctx);
-    
-    CGRect rect = self.bounds;
-    
-    CGPoint center = CGPointMake(rect.origin.x + (CGFloat)floor(rect.size.width/2.0), rect.origin.y + (CGFloat)floor(rect.size.height/2.0));
-    CGFloat lineWidth = 2.0;
-    CGFloat radius = (CGFloat)floor(MIN(rect.size.width, rect.size.height)/2.0)-lineWidth;
-    
-    UIBezierPath *borderPath = [UIBezierPath bezierPathWithArcCenter:center radius:radius startAngle:0.0 endAngle:2.0*(CGFloat)M_PI clockwise:NO];
-    
-    [borderPath setLineWidth:lineWidth];
-    
-    if (self.fillColor) {
-        [self.fillColor setFill];
-        
-        [borderPath fill];
-    }
-    
-    [self.color set];
-    
-    [borderPath stroke];
-    
-    if (self.progress > 0.0) {
-        UIBezierPath *processPath = [UIBezierPath bezierPath];
-        
-        [processPath setLineWidth:radius];
-        
-        CGFloat startAngle = -((CGFloat)M_PI/2.0);
-        CGFloat endAngle = startAngle + 2.0 * (CGFloat)M_PI * self.progress;
-        
-        [processPath addArcWithCenter:center radius:radius/2.0 startAngle:startAngle endAngle:endAngle clockwise:YES];
-        
-        [processPath stroke];
-    }
-    
-    UIGraphicsPopContext();
-}
-
-@end
-
-
-@implementation JGProgressHUDPieIndicatorView
-
-#pragma mark - Initializers
-
-- (instancetype)init {
-    self = [super initWithContentView:nil];
-    
-    if (self) {
-        self.layer.contentsScale = [UIScreen mainScreen].scale;
-        [self.layer setNeedsDisplay];
-        
-        self.color = [UIColor clearColor];
-        self.fillColor = [UIColor clearColor];
-    }
-    
-    return self;
-}
-
-- (instancetype)initWithHUDStyle:(JGProgressHUDStyle)style {
-    return [self init];
-}
-
-- (instancetype)initWithContentView:(UIView *)contentView {
-    return [self init];
-}
-
-#pragma mark - Getters & Setters
-
-- (void)setColor:(UIColor *)tintColor {
-    if ([tintColor isEqual:self.color]) {
-        return;
-    }
-    
-    _color = tintColor;
-    
-    [(JGProgressHUDPieIndicatorLayer *)self.layer setColor:self.color];
-}
-
-- (void)setFillColor:(UIColor *)fillColor {
-    if ([fillColor isEqual:self.fillColor]) {
-        return;
-    }
-    
-    _fillColor = fillColor;
-    
-    [(JGProgressHUDPieIndicatorLayer *)self.layer setFillColor:self.fillColor];
-}
-
-- (void)setProgress:(float)progress animated:(BOOL)animated {
-    if (fequal(self.progress, progress)) {
-        return;
-    }
-    
-    [super setProgress:progress animated:animated];
-    
-    [CATransaction begin];
-    [CATransaction setAnimationDuration:(animated ? 0.3 : 0.0)];
-    
-    [(JGProgressHUDPieIndicatorLayer *)self.layer setProgress:progress];
-    
-    [CATransaction commit];
-}
-
-#pragma mark - Overrides
-
-- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled {
-    [super setUpForHUDStyle:style vibrancyEnabled:vibrancyEnabled];
-    
-    if (style == JGProgressHUDStyleDark) {
-        self.color = [UIColor colorWithWhite:1.0 alpha:1.0];
-        self.fillColor = [UIColor colorWithWhite:0.2 alpha:1.0];
-    }
-    else {
-        self.color = [UIColor blackColor];
-        if (style == JGProgressHUDStyleLight) {
-            self.fillColor = [UIColor colorWithWhite:0.85 alpha:1.0];
-        }
-        else {
-            self.fillColor = [UIColor colorWithWhite:0.9 alpha:1.0];
-        }
-    }
-}
-
-+ (Class)layerClass {
-    return [JGProgressHUDPieIndicatorLayer class];
-}
-
-@end

+ 0 - 53
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDRingIndicatorView.h

@@ -1,53 +0,0 @@
-//
-//  JGProgressHUDRingIndicatorView.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUD-Defines.h"
-#import "JGProgressHUDIndicatorView.h"
-
-/**
- A ring shaped determinate progress indicator.
- */
-@interface JGProgressHUDRingIndicatorView : JGProgressHUDIndicatorView
-
-/**
- Initializes the indicator view and sets the correct color to match the HUD style.
- */
-- (instancetype __nonnull)initWithHUDStyle:(JGProgressHUDStyle)style __attribute((deprecated(("This initializer is no longer needed. Use the init initializer method."))));
-
-/**
- Background color of the ring.
- @attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD's @c indicatorView property.
- 
- @b Default: Black for JGProgressHUDStyleDark, light gray otherwise.
- */
-@property (nonatomic, strong, nonnull) UIColor *ringBackgroundColor;
-
-/**
- Progress color of the progress ring.
- @attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD's @c indicatorView property.
- 
- @b Default: White for JGProgressHUDStyleDark, otherwise black.
- */
-@property (nonatomic, strong, nonnull) UIColor *ringColor;
-
-/**
- Sets if the progress ring should have a rounded line cap.
- 
- @b Default: NO.
- */
-@property (nonatomic, assign) BOOL roundProgressLine;
-
-/**
- Width of the ring.
- 
- @b Default: 3.0.
- */
-@property (nonatomic, assign) CGFloat ringWidth;
-
-@end
-

+ 0 - 194
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDRingIndicatorView.m

@@ -1,194 +0,0 @@
-//
-//  JGProgressHUDRingIndicatorView.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 20.7.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//  
-
-#import "JGProgressHUDRingIndicatorView.h"
-
-
-@interface JGProgressHUDRingIndicatorLayer : CALayer
-
-@property (nonatomic, assign) float progress;
-
-@property (nonatomic, weak) UIColor *ringColor;
-@property (nonatomic, weak) UIColor *ringBackgroundColor;
-
-@property (nonatomic, assign) BOOL roundProgressLine;
-
-@property (nonatomic, assign) CGFloat ringWidth;
-
-@end
-
-@implementation JGProgressHUDRingIndicatorLayer
-
-@dynamic progress, ringBackgroundColor, ringColor, ringWidth, roundProgressLine;
-
-+ (BOOL)needsDisplayForKey:(NSString *)key {
-    return ([key isEqualToString:@"progress"] || [key isEqualToString:@"ringColor"] || [key isEqualToString:@"ringBackgroundColor"] || [key isEqualToString:@"roundProgressLine"] || [key isEqualToString:@"ringWidth"] || [super needsDisplayForKey:key]);
-}
-
-- (id <CAAction>)actionForKey:(NSString *)key {
-    if ([key isEqualToString:@"progress"]) {
-        CABasicAnimation *progressAnimation = [CABasicAnimation animation];
-        progressAnimation.fromValue = [self.presentationLayer valueForKey:key];
-        
-        progressAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
-        
-        return progressAnimation;
-    }
-    
-    return [super actionForKey:key];
-}
-
-- (void)drawInContext:(CGContextRef)ctx {
-    UIGraphicsPushContext(ctx);
-    
-    CGRect rect = self.bounds;
-    
-    CGPoint center = CGPointMake(rect.origin.x + (CGFloat)floor(rect.size.width/2.0), rect.origin.y + (CGFloat)floor(rect.size.height/2.0));
-    CGFloat lineWidth = self.ringWidth;
-    CGFloat radius = (CGFloat)floor(MIN(rect.size.width, rect.size.height)/2.0) - lineWidth;
-    
-    //Background
-    [self.ringBackgroundColor setStroke];
-    
-    UIBezierPath *borderPath = [UIBezierPath bezierPathWithArcCenter:center radius:radius startAngle:0.0 endAngle:2.0*(CGFloat)M_PI clockwise:NO];
-    
-    [borderPath setLineWidth:lineWidth];
-    [borderPath stroke];
-    
-    //Progress
-    [self.ringColor setStroke];
-    
-    if (self.progress > 0.0) {
-        UIBezierPath *processPath = [UIBezierPath bezierPath];
-        
-        [processPath setLineWidth:lineWidth];
-        [processPath setLineCapStyle:(self.roundProgressLine ? kCGLineCapRound : kCGLineCapSquare)];
-        
-        CGFloat startAngle = -((CGFloat)M_PI / 2.0);
-        CGFloat endAngle = startAngle + 2.0 * (CGFloat)M_PI * self.progress;
-        
-        [processPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES];
-        
-        [processPath stroke];
-    }
-    
-    UIGraphicsPopContext();
-}
-
-@end
-
-
-@implementation JGProgressHUDRingIndicatorView
-
-#pragma mark - Initializers
-
-- (instancetype)init {
-    self = [super initWithContentView:nil];;
-    
-    if (self) {
-        self.layer.contentsScale = [UIScreen mainScreen].scale;
-        [self.layer setNeedsDisplay];
-        
-        self.ringWidth = 3.0;
-        self.ringColor = [UIColor clearColor];
-        self.ringBackgroundColor = [UIColor clearColor];
-    }
-    
-    return self;
-}
-
-- (instancetype)initWithHUDStyle:(JGProgressHUDStyle)style {
-    return [self init];
-}
-
-- (instancetype)initWithContentView:(UIView *)contentView {
-    return [self init];
-}
-
-#pragma mark - Getters & Setters
-
-- (void)setRoundProgressLine:(BOOL)roundProgressLine {
-    if (roundProgressLine == self.roundProgressLine) {
-        return;
-    }
-    
-    _roundProgressLine = roundProgressLine;
-    
-    [(JGProgressHUDRingIndicatorLayer *)self.layer setRoundProgressLine:self.roundProgressLine];
-}
-
-- (void)setRingColor:(UIColor *)tintColor {
-    if ([tintColor isEqual:self.ringColor]) {
-        return;
-    }
-    
-    _ringColor = tintColor;
-    
-    [(JGProgressHUDRingIndicatorLayer *)self.layer setRingColor:self.ringColor];
-}
-
-- (void)setRingBackgroundColor:(UIColor *)backgroundTintColor {
-    if ([backgroundTintColor isEqual:self.ringBackgroundColor]) {
-        return;
-    }
-    
-    _ringBackgroundColor = backgroundTintColor;
-    
-    [(JGProgressHUDRingIndicatorLayer *)self.layer setRingBackgroundColor:self.ringBackgroundColor];
-}
-
-- (void)setRingWidth:(CGFloat)ringWidth {
-    if (fequal(ringWidth, self.ringWidth)) {
-        return;
-    }
-    
-    _ringWidth = ringWidth;
-    
-    [(JGProgressHUDRingIndicatorLayer *)self.layer setRingWidth:self.ringWidth];
-}
-
-- (void)setProgress:(float)progress animated:(BOOL)animated {
-    if (fequal(self.progress, progress)) {
-        return;
-    }
-    
-    [super setProgress:progress animated:animated];
-    
-    [CATransaction begin];
-    [CATransaction setAnimationDuration:(animated ? 0.3 : 0.0)];
-    
-    [(JGProgressHUDRingIndicatorLayer *)self.layer setProgress:self.progress];
-    
-    [CATransaction commit];
-}
-
-#pragma mark - Overrides
-
-- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled {
-    [super setUpForHUDStyle:style vibrancyEnabled:vibrancyEnabled];
-    
-    if (style == JGProgressHUDStyleDark) {
-        self.ringColor = [UIColor colorWithWhite:1.0 alpha:1.0];
-        self.ringBackgroundColor = [UIColor colorWithWhite:0.0 alpha:1.0];
-    }
-    else {
-        self.ringColor = [UIColor blackColor];
-        if (style == JGProgressHUDStyleLight) {
-            self.ringBackgroundColor = [UIColor colorWithWhite:0.85 alpha:1.0];
-        }
-        else {
-            self.ringBackgroundColor = [UIColor colorWithWhite:0.9 alpha:1.0];
-        }
-    }
-}
-
-+ (Class)layerClass {
-    return [JGProgressHUDRingIndicatorLayer class];
-}
-
-@end

+ 0 - 37
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDShadow.h

@@ -1,37 +0,0 @@
-//
-//  JGProgressHUDShadow.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 25.09.17.
-//  Copyright © 2017 Jonas Gessner. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-/**
- A wrapper representing properties of a shadow.
- */
-@interface JGProgressHUDShadow : NSObject
-
-- (instancetype __nonnull)initWithColor:(UIColor *__nonnull)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity;
-
-/** Convenience initializer. */
-+ (instancetype __nonnull)shadowWithColor:(UIColor *__nonnull)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity;
-
-/**
- The color of the shadow. Colors created from patterns are currently NOT supported.
- */
-@property (nonatomic, strong, readonly, nonnull) UIColor *color;
-
-/** The shadow offset. */
-@property (nonatomic, assign, readonly) CGSize offset;
-
-/** The blur radius used to create the shadow. */
-@property (nonatomic, assign, readonly) CGFloat radius;
-
-/**
- The opacity of the shadow. Specifying a value outside the  [0,1] range will give undefined results.
- */
-@property (nonatomic, assign, readonly) float opacity;
-
-@end

+ 0 - 30
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDShadow.m

@@ -1,30 +0,0 @@
-//
-//  JGProgressHUDShadow.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 25.09.17.
-//  Copyright © 2017 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDShadow.h"
-
-@implementation JGProgressHUDShadow
-
-+ (instancetype)shadowWithColor:(UIColor *)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity {
-    return [[self alloc] initWithColor:color offset:offset radius:radius opacity:opacity];
-}
-
-- (instancetype)initWithColor:(UIColor *)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity {
-    self = [super init];
-    
-    if (self) {
-        _color = color;
-        _offset = offset;
-        _radius = radius;
-        _opacity = opacity;
-    }
-    
-    return self;
-}
-
-@end

+ 0 - 21
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDSuccessIndicatorView.h

@@ -1,21 +0,0 @@
-//
-//  JGProgressHUDSuccessIndicatorView.h
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.08.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDImageIndicatorView.h"
-
-/**
- An image indicator showing a checkmark, representing a failed operation.
- */
-@interface JGProgressHUDSuccessIndicatorView : JGProgressHUDImageIndicatorView
-
-/**
- Default initializer for this class.
- */
-- (instancetype __nonnull)init;
-
-@end

+ 0 - 52
Pods/JGProgressHUD/JGProgressHUD/JGProgressHUD/JGProgressHUDSuccessIndicatorView.m

@@ -1,52 +0,0 @@
-//
-//  JGProgressHUDSuccessIndicatorView.m
-//  JGProgressHUD
-//
-//  Created by Jonas Gessner on 19.08.14.
-//  Copyright (c) 2014 Jonas Gessner. All rights reserved.
-//
-
-#import "JGProgressHUDSuccessIndicatorView.h"
-#import "JGProgressHUD.h"
-
-@implementation JGProgressHUDSuccessIndicatorView
-
-- (instancetype)initWithContentView:(UIView *__unused)contentView {
-    NSBundle *currentBundle = [NSBundle bundleForClass:[self class]];
-    NSURL *resourceBundleURL = [currentBundle URLForResource:@"JGProgressHUD" withExtension:@"bundle"];
-    NSBundle *resourceBundle = currentBundle;
-    if (resourceBundleURL) {
-        resourceBundle = [NSBundle bundleWithURL:resourceBundleURL] ?: currentBundle;
-    }
-
-    NSString *imgPath = [resourceBundle pathForResource:@"jg_hud_success" ofType:@"png"];
-    self = [super initWithImage:[[UIImage imageWithContentsOfFile:imgPath] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]];
-
-    return self;
-}
-
-- (instancetype)init {
-    return [self initWithContentView:nil];
-}
-
-- (void)updateAccessibility {
-    self.accessibilityLabel = NSLocalizedString(@"Success",);
-}
-
-- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled {
-    [super setUpForHUDStyle:style vibrancyEnabled:vibrancyEnabled];
-
-    if (style == JGProgressHUDStyleDark) {
-        self.contentView.tintColor = [UIColor whiteColor];
-    }
-    else {
-        self.contentView.tintColor = [UIColor blackColor];
-    }
-}
-
-- (void)tintColorDidChange {
-    [super tintColorDidChange];
-    self.contentView.tintColor = self.tintColor;
-}
-
-@end

+ 0 - 20
Pods/JGProgressHUD/LICENSE.txt

@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2018 Jonas Gessner
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 174
Pods/JGProgressHUD/README.md

@@ -1,174 +0,0 @@
-JGProgressHUD
----------------
-
-An elegant and simple progress HUD for iOS and tvOS.<br/>
-<p align="center">
-<img src="Examples/Screenshots/Presentation.png" style='height: 100%; width: 100%; object-fit: contain'/>
-</p>
-
-Overview
----------------
-
-__The ultimate progress HUD for iOS and tvOS is here: JGProgressHUD!__
-
-- Plug and play: Simple integration, easy to use, few lines of code required.
-- Easily customizable (custom animations, indicator views and more).
-- Uses `UIVisualEffectView` and `UIMotionEffect` for a native look.
-- Uses AutoLayout to provide a fully dynamic layout.
-- Detects and repositions when keyboard appears/disappears.
-- Well documented and maintained.
-- Voice Over/`UIAccessibility` support.
-- Backward compatibility to iOS 8.
-- Can be used with Swift and Objective C.
-- And most importantly, it looks good!
-
-Download the source code and open the <a href="Examples">Examples</a> project to try JGProgressHUD and see all of its features in action!
-
-[![GitHub release](https://img.shields.io/github/release/JonasGessner/JGProgressHUD.svg)](https://github.com/JonasGessner/JGProgressHUD/releases)
-[![GitHub license](https://img.shields.io/github/license/JonasGessner/JGProgressHUD.svg)](https://github.com/JonasGessner/JGProgressHUD/blob/master/LICENSE.txt)
-[![CocoaPods](https://img.shields.io/cocoapods/v/JGProgressHUD.svg)](https://cocoapods.org/pods/JGProgressHUD)
-[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-
-Examples
---------------
-
-<p align="center">
-<img src="Examples/Screenshots/demo1.gif" width="250"/>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
-<img src="Examples/Screenshots/demo2.gif" width="250"/>
-</p>
-
-#### Showing indeterminate progress:
-
-Objective C:
-
-```objc
-JGProgressHUD *HUD = [JGProgressHUD progressHUDWithStyle:JGProgressHUDStyleDark];
-HUD.textLabel.text = @"Loading";
-[HUD showInView:self.view];
-[HUD dismissAfterDelay:3.0];
-```
-
-Swift:
-
-```swift
-let hud = JGProgressHUD(style: .dark)
-hud.textLabel.text = "Loading"
-hud.show(in: self.view)
-hud.dismiss(afterDelay: 3.0)
-```
-
-This displays a dark HUD with an activity indicator and the title "Loading". The HUD is presented with a fade animation and is dismissed after 3 seconds with a fade animation.
-
-#### Showing an error message:
-
-```objc
-JGProgressHUD *HUD = [JGProgressHUD progressHUDWithStyle:JGProgressHUDStyleDark];
-HUD.textLabel.text = @"Error";
-HUD.indicatorView = [[JGProgressHUDErrorIndicatorView alloc] init]; //JGProgressHUDSuccessIndicatorView is also available
-[HUD showInView:self.view];
-[HUD dismissAfterDelay:3.0];
-```
-
-#### Showing determinate progress:
-
-```objc
-JGProgressHUD *HUD = [JGProgressHUD progressHUDWithStyle:JGProgressHUDStyleDark];
-HUD.indicatorView = [[JGProgressHUDPieIndicatorView alloc] init]; //Or JGProgressHUDRingIndicatorView
-HUD.progress = 0.5f;
-[HUD showInView:self.view];
-[HUD dismissAfterDelay:3.0];
-```
-
-__Important:__ You should always show `JGProgressHUD` in a `UIViewController` view.
-
-Download the source code and open the <a href="Examples">Examples</a> project to explore more use cases for JGProgressHUD.
-
-Customization
------------
-### Styles:
-JGProgressHUD can be displayed in 3 styles:
-
-- __Extra Light__
-- __Light__
-- __Dark__
-
-### Indicator Views:
-By default a HUD will display an indeterminate progress indicator. The indicator view can be completely hidden by setting the `indicatorView` property to `nil`. These indicator views are available by default:
-
-- __Indeterminate progress indicator__
-- __Pie progress indicator__
-- __Ring progress indicator__
-- __Success indicator__
-- __Error indicator__
-- __Image indicator__
-
-Custom indicator views can be created by subclassing `JGProgressHUDIndicatorView`.<br/>
-
-
-### Animations:
-By default a HUD will use a fade animation. Several parameters can be altered such as animation duration or animation curve. A HUD can be displayed without animation and different animations can be used. These animations are available by default:
-
-- __Fade__
-- __Zoom and Fade__
-
-Custom animations can be created by subclassing `JGProgressHUDAnimation`.
-
-To dim the content behind the HUD set your dim color as `backgroundColor` of your `JGProgressHUD` instance.
-
-Installation
---------------
-### CocoaPods:
-In your `Podfile` add:
-
-```
-pod 'JGProgressHUD'
-```
-
-### Carthage:
-In your `Cartfile` add:
-
-```
-github "JonasGessner/JGProgressHUD"
-```
-
-### Manual Installation (Framework):
-
-1. Drag the `JGProgressHUD.xcodeproj` file into your Xcode project.
-2. Add `JGProgressHUD.framework` to "Embedded Binaries" in the "General" tab of your target.
-
-Then import the module where you want to use it:
-
-```objc
-@import JGProgressHUD;
-```
-
-Swift:
-
-```swift
-import JGProgressHUD
-```
-
-See the <a href="Examples">Examples</a> project for an example implementation of JGProgressHUD as framework.
-
-Requirements
-------------
-
-- Base SDK of iOS/tvOS 11.0 or higher.
-- Deployment target of iOS 8.0, tvOS 9.0 or higher.
-
-JGProgressHUD can also be used by projects written in Swift. See <a href="https://github.com/JonasGessner/JGProgressHUD#installation">Installation</a> for details.
-
-Documentation
-----------------
-Detailed documentation can be found on <a href="http://jonasgessner.github.io/JGProgressHUD/">here</a>.<br/><br/>
-Each class and method is well documented, making it easy to quickly get a good overview. To start, see <a href="JGProgressHUD/JGProgressHUD/JGProgressHUD.h">JGProgressHUD.h</a>.
-
-License
----------
-MIT License.<br/>
-© 2014-2018, Jonas Gessner.
-
-Credits
-----------
-Created and maintained by Jonas Gessner, © 2014-2018.<br/>

+ 1 - 5
Pods/Manifest.lock

@@ -3,7 +3,6 @@ PODS:
   - InputBarAccessoryView (4.3.1):
     - InputBarAccessoryView/Core (= 4.3.1)
   - InputBarAccessoryView/Core (4.3.1)
-  - JGProgressHUD (2.0.3)
   - KK-ALCameraViewController (4.1.0)
   - ReachabilitySwift (4.3.1)
   - SCSiriWaveformView (1.1.1)
@@ -15,7 +14,6 @@ PODS:
 DEPENDENCIES:
   - DBDebugToolkit
   - InputBarAccessoryView
-  - JGProgressHUD
   - KK-ALCameraViewController
   - ReachabilitySwift
   - SCSiriWaveformView
@@ -28,7 +26,6 @@ SPEC REPOS:
   trunk:
     - DBDebugToolkit
     - InputBarAccessoryView
-    - JGProgressHUD
     - KK-ALCameraViewController
     - ReachabilitySwift
     - SCSiriWaveformView
@@ -40,7 +37,6 @@ SPEC REPOS:
 SPEC CHECKSUMS:
   DBDebugToolkit: c04bb6f618051d3de447a4b4323f37826116cfed
   InputBarAccessoryView: 58a348be7ea2736c7eec60e5c315511c2dbb39fd
-  JGProgressHUD: 12b20a8f4ffe05258f8635c1ab92816e451f904d
   KK-ALCameraViewController: ea8d8b24c9a7b92f61508a5a41ef8332f4ef7903
   ReachabilitySwift: 4032e2f59586e11e3b0ebe15b167abdd587a388b
   SCSiriWaveformView: 15b9dd6f94c7536e2032b34a35c6ff74d38c7411
@@ -49,6 +45,6 @@ SPEC CHECKSUMS:
   SwiftyBeaver: 4cc0080d2e23f980652e28978db11a5c9da39165
   UICircularProgressRing: 0ff679b05a17f15ad6301a7886686837b8c301a9
 
-PODFILE CHECKSUM: a98070d2fb3a559fc76c7d76ff4cf4ea68108ac1
+PODFILE CHECKSUM: e77a2fa24035faca1ef6498d4d167f7114315861
 
 COCOAPODS: 1.8.4

Різницю між файлами не показано, бо вона завелика
+ 738 - 829
Pods/Pods.xcodeproj/project.pbxproj


+ 0 - 26
Pods/Target Support Files/JGProgressHUD/JGProgressHUD-Info.plist

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-  <key>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleExecutable</key>
-  <string>${EXECUTABLE_NAME}</string>
-  <key>CFBundleIdentifier</key>
-  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>${PRODUCT_NAME}</string>
-  <key>CFBundlePackageType</key>
-  <string>FMWK</string>
-  <key>CFBundleShortVersionString</key>
-  <string>2.0.3</string>
-  <key>CFBundleSignature</key>
-  <string>????</string>
-  <key>CFBundleVersion</key>
-  <string>${CURRENT_PROJECT_VERSION}</string>
-  <key>NSPrincipalClass</key>
-  <string></string>
-</dict>
-</plist>

+ 0 - 5
Pods/Target Support Files/JGProgressHUD/JGProgressHUD-dummy.m

@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_JGProgressHUD : NSObject
-@end
-@implementation PodsDummy_JGProgressHUD
-@end

+ 0 - 12
Pods/Target Support Files/JGProgressHUD/JGProgressHUD-prefix.pch

@@ -1,12 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-

+ 0 - 29
Pods/Target Support Files/JGProgressHUD/JGProgressHUD-umbrella.h

@@ -1,29 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-
-#import "JGProgressHUD-Defines.h"
-#import "JGProgressHUD.h"
-#import "JGProgressHUDAnimation.h"
-#import "JGProgressHUDErrorIndicatorView.h"
-#import "JGProgressHUDFadeAnimation.h"
-#import "JGProgressHUDFadeZoomAnimation.h"
-#import "JGProgressHUDImageIndicatorView.h"
-#import "JGProgressHUDIndeterminateIndicatorView.h"
-#import "JGProgressHUDIndicatorView.h"
-#import "JGProgressHUDPieIndicatorView.h"
-#import "JGProgressHUDRingIndicatorView.h"
-#import "JGProgressHUDShadow.h"
-#import "JGProgressHUDSuccessIndicatorView.h"
-
-FOUNDATION_EXPORT double JGProgressHUDVersionNumber;
-FOUNDATION_EXPORT const unsigned char JGProgressHUDVersionString[];
-

+ 0 - 6
Pods/Target Support Files/JGProgressHUD/JGProgressHUD.modulemap

@@ -1,6 +0,0 @@
-framework module JGProgressHUD {
-  umbrella header "JGProgressHUD-umbrella.h"
-
-  export *
-  module * { export * }
-}

+ 0 - 10
Pods/Target Support Files/JGProgressHUD/JGProgressHUD.xcconfig

@@ -1,10 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_LDFLAGS = $(inherited) -framework "Foundation" -framework "QuartzCore" -framework "UIKit"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/JGProgressHUD
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
-USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

+ 0 - 24
Pods/Target Support Files/JGProgressHUD/ResourceBundle-JGProgressHUD-JGProgressHUD-Info.plist

@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-  <key>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleIdentifier</key>
-  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>${PRODUCT_NAME}</string>
-  <key>CFBundlePackageType</key>
-  <string>BNDL</string>
-  <key>CFBundleShortVersionString</key>
-  <string>2.0.3</string>
-  <key>CFBundleSignature</key>
-  <string>????</string>
-  <key>CFBundleVersion</key>
-  <string>1</string>
-  <key>NSPrincipalClass</key>
-  <string></string>
-</dict>
-</plist>

+ 0 - 24
Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios-acknowledgements.markdown

@@ -50,30 +50,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
 
 
-## JGProgressHUD
-
-The MIT License (MIT)
-
-Copyright (c) 2014-2018 Jonas Gessner
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
 ## KK-ALCameraViewController
 
 The MIT License (MIT)

+ 0 - 30
Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios-acknowledgements.plist

@@ -77,36 +77,6 @@ SOFTWARE.
 			<key>FooterText</key>
 			<string>The MIT License (MIT)
 
-Copyright (c) 2014-2018 Jonas Gessner
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>JGProgressHUD</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>The MIT License (MIT)
-
 Copyright (c) 2015 Alex Littlejohn
 
 Permission is hereby granted, free of charge, to any person obtaining a copy

+ 0 - 2
Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios-frameworks.sh

@@ -163,7 +163,6 @@ strip_invalid_archs() {
 if [[ "$CONFIGURATION" == "Debug" ]]; then
   install_framework "${BUILT_PRODUCTS_DIR}/DBDebugToolkit/DBDebugToolkit.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/JGProgressHUD/JGProgressHUD.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/ReachabilitySwift/Reachability.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework"
@@ -173,7 +172,6 @@ fi
 if [[ "$CONFIGURATION" == "Release" ]]; then
   install_framework "${BUILT_PRODUCTS_DIR}/DBDebugToolkit/DBDebugToolkit.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/JGProgressHUD/JGProgressHUD.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/ReachabilitySwift/Reachability.framework"
   install_framework "${BUILT_PRODUCTS_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework"

+ 4 - 4
Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios.debug.xcconfig

@@ -1,10 +1,10 @@
 ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
+FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD/JGProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD/JGProgressHUD.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
-OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "JGProgressHUD" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
+OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
+OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
 OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
 PODS_BUILD_DIR = ${BUILD_DIR}
 PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

+ 4 - 4
Pods/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios.release.xcconfig

@@ -1,10 +1,10 @@
 ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
+FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD/JGProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD/JGProgressHUD.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
-OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "JGProgressHUD" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
+OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
+OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
 OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
 PODS_BUILD_DIR = ${BUILD_DIR}
 PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

+ 3 - 3
Pods/Target Support Files/Pods-deltachat-iosTests/Pods-deltachat-iosTests.debug.xcconfig

@@ -1,7 +1,7 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
+FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD/JGProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "JGProgressHUD" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
+OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
 PODS_BUILD_DIR = ${BUILD_DIR}
 PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
 PODS_PODFILE_DIR_PATH = ${SRCROOT}/.

+ 3 - 3
Pods/Target Support Files/Pods-deltachat-iosTests/Pods-deltachat-iosTests.release.xcconfig

@@ -1,7 +1,7 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
+FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing"
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JGProgressHUD/JGProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "JGProgressHUD" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DBDebugToolkit/DBDebugToolkit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReachabilitySwift/Reachability.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyBeaver/SwiftyBeaver.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/UICircularProgressRing/UICircularProgressRing.framework/Headers"
+OTHER_LDFLAGS = $(inherited) -framework "AVFoundation" -framework "CoreGraphics" -framework "CoreTelephony" -framework "DBDebugToolkit" -framework "Foundation" -framework "InputBarAccessoryView" -framework "KK_ALCameraViewController" -framework "QuartzCore" -framework "Reachability" -framework "SCSiriWaveformView" -framework "SwiftyBeaver" -framework "SystemConfiguration" -framework "UICircularProgressRing" -framework "UIKit"
 PODS_BUILD_DIR = ${BUILD_DIR}
 PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
 PODS_PODFILE_DIR_PATH = ${SRCROOT}/.

+ 0 - 6
deltachat-ios.xcodeproj/project.pbxproj

@@ -160,7 +160,6 @@
 		AEC67A1E241FCFE0007DDBE1 /* ChatListViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEC67A1D241FCFE0007DDBE1 /* ChatListViewModel.swift */; };
 		AECEF03E244F2D55006C90DA /* QrPageController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AECEF03D244F2D55006C90DA /* QrPageController.swift */; };
 		AEE56D762253431E007DC082 /* AccountSetupController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE56D752253431E007DC082 /* AccountSetupController.swift */; };
-		AEE56D7D2253ADB4007DC082 /* HudHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE56D7C2253ADB4007DC082 /* HudHandler.swift */; };
 		AEE56D80225504DB007DC082 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE56D7F225504DB007DC082 /* Extensions.swift */; };
 		AEE6EC3F2282C59C00EDC689 /* GroupMembersViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE6EC3E2282C59C00EDC689 /* GroupMembersViewController.swift */; };
 		AEE6EC412282DF5700EDC689 /* MailboxViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE6EC402282DF5700EDC689 /* MailboxViewController.swift */; };
@@ -436,7 +435,6 @@
 		AEC67A1D241FCFE0007DDBE1 /* ChatListViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatListViewModel.swift; sourceTree = "<group>"; };
 		AECEF03D244F2D55006C90DA /* QrPageController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QrPageController.swift; sourceTree = "<group>"; };
 		AEE56D752253431E007DC082 /* AccountSetupController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountSetupController.swift; sourceTree = "<group>"; tabWidth = 4; };
-		AEE56D7C2253ADB4007DC082 /* HudHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HudHandler.swift; sourceTree = "<group>"; };
 		AEE56D7F225504DB007DC082 /* Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
 		AEE6EC3E2282C59C00EDC689 /* GroupMembersViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GroupMembersViewController.swift; sourceTree = "<group>"; };
 		AEE6EC402282DF5700EDC689 /* MailboxViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MailboxViewController.swift; sourceTree = "<group>"; };
@@ -940,7 +938,6 @@
 			isa = PBXGroup;
 			children = (
 				AEC67A1B241CE9E4007DDBE1 /* AppStateRestorer.swift */,
-				AEE56D7C2253ADB4007DC082 /* HudHandler.swift */,
 				AE8519E92272FDCA00ED86F0 /* DeviceContactsHandler.swift */,
 				AEE700242438E0E500D6992E /* ProgressAlertHandler.swift */,
 			);
@@ -1147,7 +1144,6 @@
 				"${PODS_ROOT}/Target Support Files/Pods-deltachat-ios/Pods-deltachat-ios-frameworks.sh",
 				"${BUILT_PRODUCTS_DIR}/DBDebugToolkit/DBDebugToolkit.framework",
 				"${BUILT_PRODUCTS_DIR}/InputBarAccessoryView/InputBarAccessoryView.framework",
-				"${BUILT_PRODUCTS_DIR}/JGProgressHUD/JGProgressHUD.framework",
 				"${BUILT_PRODUCTS_DIR}/KK-ALCameraViewController/KK_ALCameraViewController.framework",
 				"${BUILT_PRODUCTS_DIR}/ReachabilitySwift/Reachability.framework",
 				"${BUILT_PRODUCTS_DIR}/SCSiriWaveformView/SCSiriWaveformView.framework",
@@ -1158,7 +1154,6 @@
 			outputPaths = (
 				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DBDebugToolkit.framework",
 				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/InputBarAccessoryView.framework",
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JGProgressHUD.framework",
 				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KK_ALCameraViewController.framework",
 				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reachability.framework",
 				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SCSiriWaveformView.framework",
@@ -1360,7 +1355,6 @@
 				7A9FB1441FB061E2001FEA36 /* AppDelegate.swift in Sources */,
 				AE76E5EE242BF2EA003CF461 /* WelcomeViewController.swift in Sources */,
 				305961F52346125100C80F33 /* TypingIndicatorCell.swift in Sources */,
-				AEE56D7D2253ADB4007DC082 /* HudHandler.swift in Sources */,
 				305961FF2346125100C80F33 /* AvatarView.swift in Sources */,
 				3059620C2346125100C80F33 /* MessageSizeCalculator.swift in Sources */,
 				305962042346125100C80F33 /* MessagesCollectionViewLayoutAttributes.swift in Sources */,

+ 1 - 0
deltachat-ios/Controller/AccountSetupController.swift

@@ -649,6 +649,7 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
     }
 
     private func addProgressHudLoginListener() {
+
         let nc = NotificationCenter.default
         progressObserver = nc.addObserver(
             forName: dcNotificationConfigureProgress,

+ 1 - 0
deltachat-ios/Controller/QrCodeReaderController.swift

@@ -119,6 +119,7 @@ class QrCodeReaderController: UIViewController {
         #endif
     }
 
+     
     func stopSession() {
         captureSession.stopRunning()
     }

+ 7 - 44
deltachat-ios/Controller/SettingsController.swift

@@ -3,7 +3,7 @@ import UIKit
 import DcCore
 import DBDebugToolkit
 
-internal final class SettingsViewController: UITableViewController {
+internal final class SettingsViewController: UITableViewController, ProgressAlertHandler {
 
     private struct SectionConfigs {
         let headerTitle: String?
@@ -31,13 +31,8 @@ internal final class SettingsViewController: UITableViewController {
     private let externalPathDescr = "File Sharing/Delta Chat"
 
     let documentInteractionController = UIDocumentInteractionController()
-    var backupProgressObserver: Any?
-    var configureProgressObserver: Any?
-
-    private lazy var hudHandler: HudHandler = {
-        let hudHandler = HudHandler(parentView: self.view)
-        return hudHandler
-    }()
+    weak var progressAlert: UIAlertController?
+    var progressObserver: Any?
 
     // MARK: - cells
 
@@ -234,38 +229,9 @@ internal final class SettingsViewController: UITableViewController {
     override func viewDidAppear(_ animated: Bool) {
 
         super.viewDidAppear(animated)
-        let nc = NotificationCenter.default
-        backupProgressObserver = nc.addObserver(
-            forName: dcNotificationImexProgress,
-            object: nil,
-            queue: nil
-        ) { [weak self] notification in
-            guard let self = self else { return }
-            if let ui = notification.userInfo {
-                if ui["error"] as? Bool ?? false {
-                    self.hudHandler.setHudError(ui["errorMessage"] as? String)
-                } else if ui["done"] as? Bool ?? false {
-                    self.hudHandler.setHudDone(callback: nil)
-                } else {
-                    self.hudHandler.setHudProgress(ui["progress"] as? Int ?? 0)
-                }
-            }
-        }
-        configureProgressObserver = nc.addObserver(
-            forName: dcNotificationConfigureProgress,
-            object: nil,
-            queue: nil
-        ) { [weak self] notification in
+        addProgressAlertListener(progressName: dcNotificationImexProgress) { [weak self] in
             guard let self = self else { return }
-            if let ui = notification.userInfo {
-                if ui["error"] as? Bool ?? false {
-                    self.hudHandler.setHudError(ui["errorMessage"] as? String)
-                } else if ui["done"] as? Bool ?? false {
-                    self.hudHandler.setHudDone(callback: nil)
-                } else {
-                    self.hudHandler.setHudProgress(ui["progress"] as? Int ?? 0)
-                }
-            }
+            self.progressAlert?.dismiss(animated: true, completion: nil)
         }
     }
 
@@ -273,12 +239,9 @@ internal final class SettingsViewController: UITableViewController {
         super.viewDidDisappear(animated)
 
         let nc = NotificationCenter.default
-        if let backupProgressObserver = self.backupProgressObserver {
+        if let backupProgressObserver = self.progressObserver {
             nc.removeObserver(backupProgressObserver)
         }
-        if let configureProgressObserver = self.configureProgressObserver {
-            nc.removeObserver(configureProgressObserver)
-        }
     }
 
     // MARK: - UITableViewDelegate + UITableViewDatasource
@@ -423,7 +386,7 @@ internal final class SettingsViewController: UITableViewController {
     private func startImex(what: Int32) {
         let documents = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)
         if !documents.isEmpty {
-            self.hudHandler.showHud(String.localized("one_moment"))
+            showProgressAlert(title: String.localized("imex_progress_title_desktop"), dcContext: dcContext)
             DispatchQueue.main.async {
                 self.dcContext.imex(what: what, directory: documents[0])
             }

+ 1 - 1
deltachat-ios/Controller/WelcomeViewController.swift

@@ -112,7 +112,7 @@ class WelcomeViewController: UIViewController, ProgressAlertHandler {
     private func createAccountFromQRCode(qrCode: String) {
         let success = dcContext.setConfigFromQR(qrCode: qrCode)
         if success {
-            addProgressAlertListener(onSuccess: handleLoginSuccess)
+            addProgressAlertListener(progressName: dcNotificationConfigureProgress, onSuccess: handleLoginSuccess)
             showProgressAlert(title: String.localized("login_header"), dcContext: dcContext)
             dcContext.configure()
         } else {

+ 0 - 70
deltachat-ios/Handler/HudHandler.swift

@@ -1,70 +0,0 @@
-import JGProgressHUD
-import UIKit
-
-class HudHandler {
-    var backupHud: JGProgressHUD?
-    weak var view: UIView?
-
-    init(parentView: UIView) {
-        view = parentView
-    }
-
-    func setHudProgress(_ progress: Int) {
-        if let hud = self.backupHud {
-            hud.progress = Float(progress) / 1000.0
-            hud.detailTextLabel.text = "\(progress / 10)%"
-        }
-    }
-
-    func showHud(_ text: String) {
-        DispatchQueue.main.async {
-            let hud = JGProgressHUD(style: .dark)
-            hud.vibrancyEnabled = true
-            hud.indicatorView = JGProgressHUDPieIndicatorView()
-            hud.detailTextLabel.text = "0%"
-            hud.textLabel.text = text
-            if let view = self.view {
-                hud.show(in: view)
-            }
-            self.backupHud = hud
-        }
-    }
-
-    func setHudError(_ message: String?) {
-        if let hud = self.backupHud {
-            DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500)) {
-                UIView.animate(
-                    withDuration: 0.1, animations: {
-                        hud.textLabel.text = message ?? String.localized("error")
-                        hud.detailTextLabel.text = nil
-                        hud.indicatorView = JGProgressHUDErrorIndicatorView()
-                    }
-                )
-                hud.dismiss(afterDelay: 5.0)
-            }
-        }
-    }
-
-    func setHudDone(callback: (() -> Void)?) {
-        let delay = 1.0
-
-        if let hud = self.backupHud {
-            hud.setProgress(1.0, animated: true)
-            hud.detailTextLabel.text = "100%"
-            DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500)) {
-                UIView.animate(
-                    withDuration: 0.1, animations: {
-                        hud.textLabel.text = String.localized("done")
-                        hud.detailTextLabel.text = nil
-                        hud.indicatorView = JGProgressHUDSuccessIndicatorView()
-                    }
-                )
-            }
-
-            DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
-                callback?()
-                hud.dismiss()
-            }
-        }
-    }
-}

+ 3 - 3
deltachat-ios/Handler/ProgressAlertHandler.swift

@@ -8,7 +8,7 @@ protocol ProgressAlertHandler: UIViewController {
     func updateProgressAlertValue(value: Int?)
     func updateProgressAlert(error: String?)
     func updateProgressAlertSuccess(completion: VoidFunction?)
-    func addProgressAlertListener(onSuccess: @escaping VoidFunction)
+    func addProgressAlertListener(progressName: Notification.Name, onSuccess: @escaping VoidFunction)
 }
 
 extension ProgressAlertHandler {
@@ -58,10 +58,10 @@ extension ProgressAlertHandler {
         })
     }
 
-    func addProgressAlertListener(onSuccess: @escaping VoidFunction) {
+    func addProgressAlertListener(progressName: Notification.Name, onSuccess: @escaping VoidFunction) {
         let nc = NotificationCenter.default
         progressObserver = nc.addObserver(
-            forName: dcNotificationConfigureProgress,
+            forName: progressName,
             object: nil,
             queue: nil
         ) { [weak self] notification in

Деякі файли не було показано, через те що забагато файлів було змінено