|
| 1 | +MBProgressHUD |
| 2 | +============= |
| 3 | + |
| 4 | +MBProgressHUD is an iPhone drop-in class that displays a translucent HUD with a progress indicator and some optional labels while work is being done in a background thread. The HUD is meant as a replacement for the undocumented, private UIKit UIProgressHUD with some additional features. |
| 5 | + |
| 6 | +[](http://grab.by/grabs/64efd841e78d3724f4b9e6cdf1a9be58.png) |
| 7 | +[](http://grab.by/grabs/37edc22342fcafee5cb6480f1114e882.png) |
| 8 | +[](http://grab.by/grabs/11295a7e38b0cfda85b173612f03c2b6.png) |
| 9 | +[](http://grab.by/grabs/b72d772d1b578fe78b40ae30cd6ac66e.png) |
| 10 | + |
| 11 | +Adding MBProgressHUD to your project |
| 12 | +==================================== |
| 13 | + |
| 14 | +The simplest way to add the MBProgressHUD to your project is to directly add the `MBProgressHUD.h` and `MBProgressHUD.m` source files to your project. |
| 15 | + |
| 16 | +1. Download the latest code version from the repository (you can simply use the Download Source button and get the zip or tar archive of the master branch). |
| 17 | +2. Extract the archive. |
| 18 | +3. Open your project in Xcode, than drag and drop `MBProgressHUD.h` and `MBProgressHUD.m` to your classes group (in the Groups & Files view). |
| 19 | +4. Make sure to select Copy items when asked. |
| 20 | + |
| 21 | +Usage |
| 22 | +===== |
| 23 | + |
| 24 | +A full Xcode demo project is included in the Demo directory. This should give you an idea how to use the class. |
| 25 | + |
| 26 | +Change-log |
| 27 | +========== |
| 28 | + |
| 29 | +Version 0.32 @ 4.01.10 |
| 30 | +- Added minShowTime, graceTime, xOffset, yOffset. |
| 31 | +- Various fixes. |
| 32 | + |
| 33 | +Version 0.31 @ 8.10.09 |
| 34 | +- Fix for touch through during the fade-out animation. |
| 35 | + |
| 36 | +Version 0.3 @ 30.9.09 |
| 37 | +- Added show: and hide: methods. |
| 38 | +- Now using UIViews layoutSubviews to automate layout calls. |
| 39 | +- Added some floors to round pixel positions and thereby prevent unsharp views. |
| 40 | +- Some additional documentation and code cleanup. |
| 41 | + |
| 42 | +Version 0.2 @ 21.7.09 |
| 43 | +- Added determinate progress mode and switching capabilities between determinate and indeterminate modes. |
| 44 | +- Various bugfixes. |
| 45 | + |
| 46 | +Version 0.11 @ 2.6.09. |
| 47 | +- Updated labelText and detailsLabelText properties to support text modifications while the HUD is being shown. |
| 48 | + |
| 49 | +Version 0.1 @ 2.4.09 |
| 50 | +- Initial release. |
0 commit comments