From 847397244fd32f657e7e16ec31b49fc4643d2bbf Mon Sep 17 00:00:00 2001 From: Juan Navas Date: Thu, 12 Oct 2017 11:13:53 +0200 Subject: [PATCH] fix: removing a warning in a block declaration feat: updated deployment target to iOS 7.0 (minimum to build with Xcode 9) feat: updated podspec's deployment target to iOS 7.0 (as Xcode's project) --- CountingTestProject.xcodeproj/project.pbxproj | 2 ++ UICountingLabel.h | 2 +- UICountingLabel.podspec | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CountingTestProject.xcodeproj/project.pbxproj b/CountingTestProject.xcodeproj/project.pbxproj index aa4e929..b85059d 100644 --- a/CountingTestProject.xcodeproj/project.pbxproj +++ b/CountingTestProject.xcodeproj/project.pbxproj @@ -276,6 +276,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "CountingTestProject/CountingTestProject-Prefix.pch"; INFOPLIST_FILE = "CountingTestProject/CountingTestProject-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; PRODUCT_BUNDLE_IDENTIFIER = "com.timgostony.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; WRAPPER_EXTENSION = app; @@ -289,6 +290,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "CountingTestProject/CountingTestProject-Prefix.pch"; INFOPLIST_FILE = "CountingTestProject/CountingTestProject-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; PRODUCT_BUNDLE_IDENTIFIER = "com.timgostony.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; WRAPPER_EXTENSION = app; diff --git a/UICountingLabel.h b/UICountingLabel.h index 3c59ee3..f19219e 100755 --- a/UICountingLabel.h +++ b/UICountingLabel.h @@ -19,7 +19,7 @@ typedef NSAttributedString* (^UICountingLabelAttributedFormatBlock)(CGFloat valu @property (nonatomic, copy) UICountingLabelFormatBlock formatBlock; @property (nonatomic, copy) UICountingLabelAttributedFormatBlock attributedFormatBlock; -@property (nonatomic, copy) void (^completionBlock)(); +@property (nonatomic, copy) void (^completionBlock)(void); -(void)countFrom:(CGFloat)startValue to:(CGFloat)endValue; -(void)countFrom:(CGFloat)startValue to:(CGFloat)endValue withDuration:(NSTimeInterval)duration; diff --git a/UICountingLabel.podspec b/UICountingLabel.podspec index ca91fe7..2f9763a 100644 --- a/UICountingLabel.podspec +++ b/UICountingLabel.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = "UICountingLabel" - s.version = "1.4.0" + s.version = "1.4.1" s.summary = "Adds animated counting support to UILabel." s.homepage = "https://github.com/dataxpress/UICountingLabel" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "Tim Gostony" => "dataxpress@gmail.com" } s.source = { :git => "https://github.com/dataxpress/UICountingLabel.git", :tag => s.version.to_s } - s.ios.deployment_target = '5.0' + s.ios.deployment_target = '7.0' s.tvos.deployment_target = '9.0' s.source_files = 'UICountingLabel.{h,m}' s.exclude_files = 'Classes/Exclude'