Skip to content

Commit

Permalink
Updated documentation & version bump.
Browse files Browse the repository at this point in the history
Removed some obsolete methods added in the previous commit.
  • Loading branch information
matej committed Mar 27, 2010
1 parent 6408e7f commit bb43acf
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
1 change: 0 additions & 1 deletion Demo/Classes/HudDemoViewController.h
Expand Up @@ -18,7 +18,6 @@
- (IBAction)showWithDetailsLabel:(id)sender;
- (IBAction)showWithLabelDeterminate:(id)sender;
- (IBAction)showWithCustomView:(id)sender;
- (IBAction)showWithLabelOnly:(id)sender;
- (IBAction)showWithLabelMixed:(id)sender;

- (void)myTask;
Expand Down
14 changes: 9 additions & 5 deletions MBProgressHUD.h
@@ -1,7 +1,7 @@
//
// MBProgressHUD.h
// Version 0.32
// Created by Matej Bukovinski on 04.01.10.
// Version 0.33
// Created by Matej Bukovinski on 2.4.09.
//

// This code is distributed under the terms and conditions of the MIT license.
Expand Down Expand Up @@ -71,17 +71,21 @@ typedef enum {
@end

/**
* Displays a simple HUD window containing a UIActivityIndicatorView and two optional labels for short messages.
* Displays a simple HUD window containing a progress indicator and two optional labels for short messages.
*
* This is a simple drop-in class for displaying a progress HUD view similar to Apples private UIProgressHUD class.
* The MBProgressHUD window spans over the entire space given to it by the initWithFrame constructor and catches all
* user input on this region, thereby preventing the user operations on components below the view. The HUD itself is
* drawn centered as a rounded semi-transparent view witch resizes depending on the user specified content.
*
* This view supports three modes of operation:
* - The default mode displays just a UIActivityIndicatorView.
* - MBProgressHUDModeIndeterminate - shows a UIActivityIndicatorView
* - MBProgressHUDModeDeterminate - shows a custom round progress indicator (MBRoundProgressView)
* - MBProgressHUDModeCustomView - shows an arbitrary, user specified view (@see customView)
*
* All three modes can have optional labels assigned:
* - If the labelText property is set and non-empty then a label containing the provided content is placed below the
* UIActivityIndicatorView.
* indicator view.
* - If also the detailsLabelText property is set then another label is placed below the first label.
*/
@interface MBProgressHUD : UIView {
Expand Down
4 changes: 2 additions & 2 deletions MBProgressHUD.m
@@ -1,7 +1,7 @@
//
// MBProgressHUD.m
// Version 0.32
// Created by Matej Bukovinski on 04.01.10.
// Version 0.33
// Created by Matej Bukovinski on 2.4.09.
//

#import "MBProgressHUD.h"
Expand Down
5 changes: 5 additions & 0 deletions README.mdown
Expand Up @@ -7,6 +7,7 @@ MBProgressHUD is an iPhone drop-in class that displays a translucent HUD with a
[![](http://grab.by/grabs/051c768a35a3a8dcce5162f6cde4bb6b.png)](http://grab.by/grabs/37edc22342fcafee5cb6480f1114e882.png)
[![](http://grab.by/grabs/11695987da568e635c4bfb817c247e11.png)](http://grab.by/grabs/11295a7e38b0cfda85b173612f03c2b6.png)
[![](http://grab.by/grabs/e977015442945e6596d695d55c14bc23.png)](http://grab.by/grabs/b72d772d1b578fe78b40ae30cd6ac66e.png)
[![](http://grab.by/grabs/563906b03b1e9dee499d71af4f193748.png)](http://grab.by/grabs/b2608a107117932ea8c8f5304c34e9e2.png)

Adding MBProgressHUD to your project
====================================
Expand All @@ -26,6 +27,10 @@ A full Xcode demo project is included in the Demo directory. This should give yo
Change-log
==========

Version 0.33 @ 27.03.10
- Custom view operation mode added.
- Fixed a memory leak.

Version 0.32 @ 4.01.10
- Added minShowTime, graceTime, xOffset, yOffset.
- Various fixes.
Expand Down

0 comments on commit bb43acf

Please sign in to comment.