Skip to content

Releases: mrackwitz/MRProgress

MRProgress 0.7.0

03 Sep 11:09
Compare
Choose a tag to compare

Summary

This version makes all components more accessible, by providing appropiate UIAccessibility labels, traits and events by default, and in a localizable manner. Furthermore it fixes the issue, that you had a very small hit target for small activity indicators or progress views.

Changelog

  • UIAccessibility support. (#60)
  • Ensure a min hit area of 44x44 for small stop buttons. (#38, #61)

Release Details

MRProgress 0.6.0

22 Jul 14:55
Compare
Choose a tag to compare

Summary

This version includes optional AFNetworking 2.0 support and a bug fix UIAppearance support.
It doesn't install anymore some subspecs by default, which are not required.

AFNetworking Usage

  1. Include the following additional line into your Podfile:

    pod 'MRProgress/AFNetworking'
  2. Import the adequate category header for the component you want to use:

    import <MRProgress/MRProgressOverlayView+AFNetworking.h>
  3. You can now just setup your task / operation as usual and use the category
    methods to bind to execution state and progress as shown below.

    // Init the progress overlay as usual
    MRProgressOverlayView *overlayView
    overlayView = [MRProgressOverlayView showOverlayAddedTo:self.view
                                                   animated:YES];
    
    // The following line will do these things automatically:
    // * Set mode to determinate when a download or upload is in progress
    // * Set animated progress of the download or upload
    // * Show a checkmark or cross pane at the end of the progress
    [overlayView setModeAndProgressWithStateOfTask:task];
    
    // Allows the user to cancel the task by using the provided stop button.
    // If you use that, make sure that you handle the error code, which will be
    // delivered to the failure block of the task like shown below:
    //
    //    if ([error.domain isEqualToString:NSURLErrorDomain]
    //      && error.code == NSURLErrorCancelled) {
    //        NSLog(@"Task was cancelled by user.");
    //        return;
    //    }
    //
    [overlayView setStopBlockForTask:task];
    
    // If you use the activity indicator directly
    [self.activityIndicatorView setAnimatingWithStateOfTask:task];
    
    // If you use one of the progress views directly ...
    // ... for uploads:
    [self.circularProgressView setProgressWithUploadProgressOfTask:downloadTask animated:YES];
    
    // ... for downloads:
    [self.circularProgressView setProgressWithDownloadProgressOfTask:downloadTask animated:YES];
    
    [[MRNavigationBarProgressView progressViewForNavigationController:self.navigationController]
    setProgressWithDownloadProgressOfTask:downloadTask animated:YES];

    All methods are available for both NSURLSessionTask and AFURLConnectionOperation and their descendants.
    For further examples, make sure to also checkout the Example app.

Changelog

  • AFNetworking support. See above or the README for how to get it. (#25, #50)
  • Fixed bug in UIAppearance support. (#48, #52)
  • Make some subspecs optional, and not installed by default. This includes beside the new MRProgress/AFNetworking the following specs: MRProgress/MessageInterceptor and MRProgress/WeakProxy. If you relied implicitly on them, make sure to include them in your Podfile explicitly now.

Release Details

MRProgress 0.5.0

02 Jun 09:29
Compare
Choose a tag to compare

Summary

This version includes serveral bug fixes and enhancements for better customizability.

Changelog

  • Fixed a flickering issue with MRBlurView, which happened on interface rotation. (#42)
  • Added a workaround for slower devices to circumvent the delay until the blurred background appears. (#39)
  • Added the property valueLabel to MRCircularProgressView. (#35)
  • Added the properties sizeRatio and highlightedSizeRatio to MRStopButton to configure the size of the stop button relative to the size of the progress view / activity indicator view. (#37)
  • Fixed a bug in MRCircularProgressView, which caused that the on-touch-down animation of the stop button was not visible. (#34)
  • Published the layer properties borderWidth and lineWidth over the UIAppearance API to make the appearance of the MRCircularProgressView more configurable. (#36)
  • Extended the Example application to demonstrate MRBlurView independently.

Credits

Thanks to @jdmunro for his excellent bug reports, backed by videos.
Thanks for his help again by mentioning and informing about a bug and potential for enhancements and his pull-request go to @coneybeare.
Thanks to @owenworley's attention to the details for finding a type typo.

Release Details

MRProgress 0.4.2

22 Apr 16:21
Compare
Choose a tag to compare

Summary

A bug fix, which is needed if you use Nibs or Storyboard and use iOS 7.1 as base SDK to compile your application. This does neither hurt MRProgress/Overlay nor existing apps deployed with iOS 7.0.

Changelog

  • Fixed bad initialization since iOS 7.1 of MRProgress/Circular's MRCircularProgressView if loaded from Nibs.

Did you know?

Since iOS 7.1 tintColorDidChange won't be called automatically if the UIView is initialized / loaded from Nib, at least not in all cases. It is still called if it is initialized by initWithFrame:.

Credits

Thanks for his help by mentioning and informing about the issue go to @coneybeare.

Release Details

MRProgress 0.4.0

26 Feb 16:47
Compare
Choose a tag to compare

Summary

This release brings small subspecs, so that you can just depend on selected components. So if you want only to use the circular activity indicator, you can use now for example just pod MRProgress/Circular. This means that only this component will be compiled and linked into your project by CocoaPods.
But you can also just use pod MRProgress as before.
See also the following dependency tree:

─┬─MRProgress/
 │
 ├───Blur
 │
 ├───ActivityIndicator
 │
 ├───Circular
 │
 ├───Icons
 │
 ├─┬─NavigationBarProgress
 │ └───MessageInterceptor
 │
 ├─┬─Overlay
 │ ├───ActivityIndicator
 │ ├───Circular
 │ ├───Icons
 │ └───Blur
 │
 ├───MessageInterceptor
 │
 └───WeakProxy

_Attention_: The third level in the tree is only thought to illustrate cross-dependencies, you can't reference the subspecs in this way.

Changelog

  • Sliced podspec into subspecs
  • Fixed warnings in Xcode 5.0.2.

Credits

Thanks for their help by contributing code / creating issues go to:

Release Details

MRProgress 0.3.0

13 Jan 13:43
Compare
Choose a tag to compare

Summary

This release brings new features, implementation improvements and a bug fix for a case of a crash in specific scenarios.

Changelog

  • Cancel button for MRProgressOverlayView for the modes: Indeterminate and DeterminateCircular
  • Cancel button for MRActivityIndicatorView
  • Replaced CADisplayLink based animation in MRCircularProgressView by a property based animation. (The value label is still Timer-based "animated".)
  • Adds an optional completion block argument to dismiss methods, which is executed after the hide animation has been completed. (Keeps backwards-compatibility.)

Credits

Thanks for their help by contributing code / creating issues go to:

Release Details

MRProgress 0.2.2

17 Nov 22:16
Compare
Choose a tag to compare

Summary

This release contains various improvements, several bug fixes for edge cases and API improvements.

Changelog

  • Improved �UIAppearanceAPI support
  • Improved layout if text of titleLabel is empty
  • Variable dialog width for small modes of `MRProgressOverlayView``
  • Added property lineWidth for MRActivityIndicatorView
  • Added showOverlayAddedTo: title: mode: animated:

Credits

Thanks for their help by contributing code / creating issues go to:

Release Details

MRProgress 0.2.1

04 Nov 11:42
Compare
Choose a tag to compare

Summary

This was a quick release, which contained first bug fixes of the initial public release.

Changelog

  • Improved layout based on attributedText for multi-line title label texts
  • Fixed missing tilt motion effect on blurView

Release Details