From bb43acfe9672f5dd452aa8d699d7c33d5aa8dbd9 Mon Sep 17 00:00:00 2001 From: Matej Bukovinski Date: Sat, 27 Mar 2010 22:05:29 +0100 Subject: [PATCH] Updated documentation & version bump. Removed some obsolete methods added in the previous commit. --- Demo/Classes/HudDemoViewController.h | 1 - MBProgressHUD.h | 14 +++++++++----- MBProgressHUD.m | 4 ++-- README.mdown | 5 +++++ 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Demo/Classes/HudDemoViewController.h b/Demo/Classes/HudDemoViewController.h index 565078c37..85fc24c59 100644 --- a/Demo/Classes/HudDemoViewController.h +++ b/Demo/Classes/HudDemoViewController.h @@ -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; diff --git a/MBProgressHUD.h b/MBProgressHUD.h index 4e7fb3ad4..403a593df 100644 --- a/MBProgressHUD.h +++ b/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. @@ -71,7 +71,7 @@ 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 @@ -79,9 +79,13 @@ typedef enum { * 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 { diff --git a/MBProgressHUD.m b/MBProgressHUD.m index 44d6843ff..efb6af102 100644 --- a/MBProgressHUD.m +++ b/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" diff --git a/README.mdown b/README.mdown index 9bfcdc3c9..b543fd5a6 100644 --- a/README.mdown +++ b/README.mdown @@ -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 ==================================== @@ -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.