- MBProgressHUD now requires LLVM 3+ - instance variables moved to the class implementation or removed (using synthesized instance vars) - using KVO instead of custom accessors - completely rewritten layout and UI buildup code - more concise arc conditionals - added MBProgressHUDModeText (+ example) - various documentation fixes - migrated to @autoreleasepool - general source code cleanup and restructuring - removed deprecated delegate callback - version bump to 5.0
- some additional cleanup and refactoring of class methods
* The already present hideHUDForView:animated: method hide and remove only one HUD found in the subviews (the last one). There are cases when more than one HUD can be added to a view (explicit add or just accidental fast user interactions): the added hideAddHUDForView:animated: method hides and removes all the HUD that have been previously added to a view.
- Added support for ARC - Still compatible with non ARC projects - Notification observer for interface orientation moved to the removeFromSuperview method. (it could cause an EXC_BAD_ACCESS otherwise) - Remove one deviceOrientationDidChange: prototype definition
…pport iOS5 and replaced UIDeviceOrientation that was being cast from a UIInterfaceOrientation
Demo app updated to show window rotation support. Thanks wuf810 for the initial suggestion: http://github.com/matej/MBProgressHUD/issues/closed#issue/1
Not using perform selectior when calling seterts from the main thread. Added an option to automatically remove the HUD from its parent view when hidden. Demo app updates: - GCD (blocks) example added - now using a scrollview - added a navigation controller - some project reorganization - Default.png - app icon - changed the bundle identifier
graceTime replaces the old delay property. It uses a NSTimer for greater efficiency. If set, it prevents the HUD from showing at all if the task does not run at least graceTime seconds. minShowTime is similarly implemented using a NSTimer. If set, it denotes the minimum time the HUD will be shown (even if the task finishes prematurely). taskInProgress can be used to notify the HUD of the task execution progress when externally managing the task's thread (needed for grace time)