From 6839a524b138d8b83a9b66ebd47114b1342bba2f Mon Sep 17 00:00:00 2001 From: Jonas Gessner Date: Wed, 5 Aug 2015 13:21:38 +0200 Subject: [PATCH] 1.3 --- JGProgressHUD.podspec | 4 ++-- README.md | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/JGProgressHUD.podspec b/JGProgressHUD.podspec index 7680b71..a3ed1bd 100644 --- a/JGProgressHUD.podspec +++ b/JGProgressHUD.podspec @@ -1,14 +1,14 @@ Pod::Spec.new do |s| s.name = "JGProgressHUD" - s.version = "1.2.7" + s.version = "1.3" s.summary = "Powerful and modern progress HUD for iOS." s.homepage = "https://github.com/JonasGessner/JGProgressHUD" s.license = { :type => "MIT", :file => "LICENSE.txt" } s.author = "Jonas Gessner" s.social_media_url = "http://twitter.com/JonasGessner" s.platform = :ios, "5.0" - s.source = { :git => "https://github.com/JonasGessner/JGProgressHUD.git", :tag => "v1.2.7" } + s.source = { :git => "https://github.com/JonasGessner/JGProgressHUD.git", :tag => "v1.3" } s.source_files = "JGProgressHUD/JGProgressHUD/*.{h,m}" s.resource = "JGProgressHUD/JGProgressHUD/JGProgressHUD Resources.bundle" s.frameworks = "Foundation", "UIKit", "QuartzCore" diff --git a/README.md b/README.md index e8f1995..81f9061 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,6 @@ HUD.indicatorView = [[JGProgressHUDErrorIndicatorView alloc] init]; //JGProgress [HUD showInView:self.view]; [HUD dismissAfterDelay:3.0]; ``` -
#####Showing a custom image: ```objc JGProgressHUD *HUD = [JGProgressHUD progressHUDWithStyle:JGProgressHUDStyleDark]; @@ -93,7 +92,6 @@ HUD.indicatorView = [[JGProgressHUDImageIndicatorView alloc] initWithImage:[UIIm [HUD showInView:self.view]; [HUD dismissAfterDelay:3.0]; ``` -
#####Showing determinate progress: ```objc JGProgressHUD *HUD = [JGProgressHUD progressHUDWithStyle:JGProgressHUDStyleDark]; @@ -101,7 +99,7 @@ HUD.indicatorView = [[JGProgressHUDPieIndicatorView alloc] initWithHUDStyle:HUD. [HUD showInView:self.view]; [HUD dismissAfterDelay:3.0]; ``` -

+
Important: You should always show HUDs in a UIViewController's view.

See the Examples project for more example implementations.