diff --git a/README.md b/README.md
index 97d7ecc..961d521 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,8 @@ An elegant, lightweight and responsive progress HUD for iOS app with very simple
## Cocoapods
Add to `Podfile` :
```podfile
-pod 'iProgressHUD', '~> 1.1.1'
+Swift 4 : pod 'iProgressHUD', '~> 1.1.1'
+Swift 4.2 : pod 'iProgressHUD', '~> 2.0'
```
## Indicator Types
diff --git a/iProgressHUD.podspec b/iProgressHUD.podspec
index db3d5f9..90ee2a6 100644
--- a/iProgressHUD.podspec
+++ b/iProgressHUD.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'iProgressHUD'
- s.version = '1.1.1'
+ s.version = '2.0'
s.license = 'MIT'
s.summary = 'An elegant, lightweight and responsive progress HUD for iOS app with very simple usage. Available 32 indicators by NVActivityIndicatorView.'
s.homepage = 'https://github.com/icaksama/iProgressHUD'
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.platform = :ios, '8.0'
s.ios.deployment_target = '8.0'
s.frameworks = 'Foundation', 'UIKit'
- s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
+ s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.2' }
s.source_files = 'iProgressHUD/iProgressHUD/*.{swift,h}',
'iProgressHUD/iProgressHUD/**/*.{swift,h}',
'iProgressHUD/iProgressHUD/**/**/*.{swift,h}'
diff --git a/iProgressHUD/iProgressHUD.xcodeproj/project.pbxproj b/iProgressHUD/iProgressHUD.xcodeproj/project.pbxproj
index 9554654..efe9a06 100644
--- a/iProgressHUD/iProgressHUD.xcodeproj/project.pbxproj
+++ b/iProgressHUD/iProgressHUD.xcodeproj/project.pbxproj
@@ -240,7 +240,7 @@
6F19827F20086D150063DB8B /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0920;
+ LastUpgradeCheck = 1000;
ORGANIZATIONNAME = icaksama;
TargetAttributes = {
6F19828720086D150063DB8B = {
@@ -344,6 +344,7 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@@ -351,6 +352,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -379,7 +381,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.2;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -404,6 +406,7 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@@ -411,6 +414,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -433,7 +437,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.2;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -461,7 +465,7 @@
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 4.0;
+ SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
@@ -483,7 +487,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.icaksama.iProgressHUD;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
- SWIFT_VERSION = 4.0;
+ SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
diff --git a/iProgressHUD/iProgressHUD.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/iProgressHUD/iProgressHUD.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/iProgressHUD/iProgressHUD.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/iProgressHUD/iProgressHUD/Info.plist b/iProgressHUD/iProgressHUD/Info.plist
index 1007fd9..53b23a1 100644
--- a/iProgressHUD/iProgressHUD/Info.plist
+++ b/iProgressHUD/iProgressHUD/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.0
+ 2.0
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSPrincipalClass
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift
index 595ada3..43a6fbe 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift
@@ -56,7 +56,7 @@ class NVActivityIndicatorAnimationBallBeat: NVActivityIndicatorAnimationDelegate
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift
index f6b9979..5c2a434 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift
@@ -48,7 +48,7 @@ class NVActivityIndicatorAnimationBallClipRotate: NVActivityIndicatorAnimationDe
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, rotateAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift
index 592691b..a64425a 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift
@@ -33,7 +33,7 @@ class NVActivityIndicatorAnimationBallClipRotateMultiple: NVActivityIndicatorAni
let bigCircleSize: CGFloat = size.width
let smallCircleSize: CGFloat = size.width / 2
let longDuration: CFTimeInterval = 1
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
circleOf(shape: .ringTwoHalfHorizontal,
duration: longDuration,
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift
index 66ece23..5e5716f 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationBallGridBeat: NVActivityIndicatorAnimationDele
let durations = [0.96, 0.93, 1.19, 1.13, 1.34, 0.94, 1.2, 0.82, 1.19]
let beginTime = CACurrentMediaTime()
let beginTimes = [0.36, 0.4, 0.68, 0.41, 0.71, -0.15, -0.12, 0.01, 0.32]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Animation
let animation = CAKeyframeAnimation(keyPath: "opacity")
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift
index 67e99a3..6870e82 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationBallGridPulse: NVActivityIndicatorAnimationDel
let durations: [CFTimeInterval] = [0.72, 1.02, 1.28, 1.42, 1.45, 1.18, 0.87, 1.45, 1.06]
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [ -0.06, 0.25, -0.17, 0.48, 0.31, 0.03, 0.46, 0.78, 0.45]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Scale animation
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift
index b2b49a4..614d70e 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift
@@ -38,7 +38,7 @@ class NVActivityIndicatorAnimationBallPulseSync: NVActivityIndicatorAnimationDel
let duration: CFTimeInterval = 0.6
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0.07, 0.14, 0.21]
- let timingFunciton = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunciton = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Animation
let animation = CAKeyframeAnimation(keyPath: "transform.translation.y")
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift
index 5c78617..50c6bd0 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift
@@ -50,7 +50,7 @@ class NVActivityIndicatorAnimationBallScale: NVActivityIndicatorAnimationDelegat
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift
index 5ad1a8b..c5315c3 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift
@@ -52,7 +52,7 @@ class NVActivityIndicatorAnimationBallScaleMultiple: NVActivityIndicatorAnimatio
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift
index c368d44..1d81d36 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift
@@ -56,7 +56,7 @@ class NVActivityIndicatorAnimationBallSpinFadeLoader: NVActivityIndicatorAnimati
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimaton]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift
index f9ee7f4..818a226 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift
@@ -36,7 +36,7 @@ class NVActivityIndicatorAnimationBallTrianglePath: NVActivityIndicatorAnimation
let x = (layer.bounds.size.width - size.width) / 2
let y = (layer.bounds.size.height - size.height) / 2
let duration: CFTimeInterval = 2
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Animation
let animation = CAKeyframeAnimation(keyPath: "transform")
@@ -76,7 +76,7 @@ class NVActivityIndicatorAnimationBallTrianglePath: NVActivityIndicatorAnimation
let values = NSMutableArray(capacity: 5)
for rawValue in rawValues {
- let point = CGPointFromString(translateString(rawValue, deltaX: deltaX, deltaY: deltaY))
+ let point = NSCoder.cgPoint(for: translateString(rawValue, deltaX: deltaX, deltaY: deltaY))
values.add(NSValue(caTransform3D: CATransform3DMakeTranslation(point.x, point.y, 0)))
}
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift
index ae3560a..224c3b4 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift
@@ -41,7 +41,7 @@ class NVActivityIndicatorAnimationBallZigZag: NVActivityIndicatorAnimationDelega
let animation = CAKeyframeAnimation(keyPath: "transform")
animation.keyTimes = [0, 0.33, 0.66, 1]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.values = [
NSValue(caTransform3D: CATransform3DMakeTranslation(0, 0, 0)),
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift
index 6dc4f50..aec8178 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift
@@ -40,7 +40,7 @@ class NVActivityIndicatorAnimationBallZigZagDeflect: NVActivityIndicatorAnimatio
let animation = CAKeyframeAnimation(keyPath: "transform")
animation.keyTimes = [0, 0.33, 0.66, 1]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.values = [
NSValue(caTransform3D: CATransform3DMakeTranslation(0, 0, 0)),
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift
index 109df38..2343ec6 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift
@@ -36,7 +36,7 @@ class NVActivityIndicatorAnimationCircleStrokeSpin: NVActivityIndicatorAnimation
let rotationAnimation = CABasicAnimation(keyPath: "transform.rotation")
rotationAnimation.byValue = Float.pi * 2
- rotationAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ rotationAnimation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
let strokeEndAnimation = CABasicAnimation(keyPath: "strokeEnd")
strokeEndAnimation.duration = strokeEndDuration
@@ -56,7 +56,7 @@ class NVActivityIndicatorAnimationCircleStrokeSpin: NVActivityIndicatorAnimation
groupAnimation.duration = strokeStartDuration + beginTime
groupAnimation.repeatCount = .infinity
groupAnimation.isRemovedOnCompletion = false
- groupAnimation.fillMode = kCAFillModeForwards
+ groupAnimation.fillMode = CAMediaTimingFillMode.forwards
let circle = NVActivityIndicatorShape.stroke.layerWith(size: size, color: color)
let frame = CGRect(
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift
index 2ab8e18..10e7722 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift
@@ -38,7 +38,7 @@ class NVActivityIndicatorAnimationCubeTransition: NVActivityIndicatorAnimationDe
let duration: CFTimeInterval = 1.6
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0, -0.8]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Scale animation
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift
index fc1834f..a82cb48 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift
@@ -36,7 +36,7 @@ class NVActivityIndicatorAnimationLineScaleParty: NVActivityIndicatorAnimationDe
let durations: [CFTimeInterval] = [1.26, 0.43, 1.01, 0.73]
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0.77, 0.29, 0.28, 0.74]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Animation
let animation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift
index 23db058..36b4079 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationLineSpinFadeLoader: NVActivityIndicatorAnimati
let duration: CFTimeInterval = 1.2
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0.12, 0.24, 0.36, 0.48, 0.6, 0.72, 0.84, 0.96]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Animation
let animation = CAKeyframeAnimation(keyPath: "opacity")
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift
index 524bafe..2b65554 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift
@@ -50,7 +50,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
scaleAnimation.keyTimes = [0, 0.45, 0.45, 1]
- scaleAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ scaleAnimation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
scaleAnimation.values = [0, 0, 1.3, 2]
scaleAnimation.duration = duration
@@ -59,7 +59,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let timingFunction = CAMediaTimingFunction(controlPoints: 0.19, 1, 0.22, 1)
opacityAnimation.keyTimes = [0, 0.45, 1]
- scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear), timingFunction]
+ scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear), timingFunction]
opacityAnimation.values = [0.8, 0.8, 0]
opacityAnimation.duration = duration
@@ -88,7 +88,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
scaleAnimation.keyTimes = [0, 0.55, 0.55, 1]
- scaleAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ scaleAnimation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
scaleAnimation.values = [0, 0, 1.3, 2.1]
scaleAnimation.duration = duration
@@ -97,7 +97,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let timingFunction = CAMediaTimingFunction(controlPoints: 0.19, 1, 0.22, 1)
opacityAnimation.keyTimes = [0, 0.55, 0.65, 1]
- scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear), timingFunction]
+ scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear), timingFunction]
opacityAnimation.values = [0.7, 0.7, 0, 0]
opacityAnimation.duration = duration
@@ -124,7 +124,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
func coreInLayer(_ layer: CALayer, size _: CGSize, color: UIColor) {
let inTimingFunction = CAMediaTimingFunction(controlPoints: 0.7, 0, 1, 0.5)
let outTimingFunction = CAMediaTimingFunction(controlPoints: 0, 0.7, 0.5, 1)
- let standByTimingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ let standByTimingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
// Scale animation
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift
index f1d7c9a..8e5e72b 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationPacman: NVActivityIndicatorAnimationDelegate {
func pacmanInLayer(_ layer: CALayer, size: CGSize, color: UIColor) {
let pacmanSize = 2 * size.width / 3
let pacmanDuration: CFTimeInterval = 0.5
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Stroke start animation
let strokeStartAnimation = CAKeyframeAnimation(keyPath: "strokeStart")
@@ -99,7 +99,7 @@ class NVActivityIndicatorAnimationPacman: NVActivityIndicatorAnimationDelegate {
let animation = CAAnimationGroup()
animation.animations = [translateAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = circleDuration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift
index a90a7e5..f70729d 100755
--- a/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift
+++ b/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift
@@ -500,7 +500,7 @@ public final class NVActivityIndicatorView: UIView {
internal final func setUpAnimation() {
let animation: NVActivityIndicatorAnimationDelegate = type.animation()
- var animationRect = UIEdgeInsetsInsetRect(frame, UIEdgeInsetsMake(padding, padding, padding, padding))
+ var animationRect = frame.inset(by: UIEdgeInsets(top: padding, left: padding, bottom: padding, right: padding))
let minEdge = min(animationRect.width, animationRect.height)
layer.sublayers = nil
diff --git a/iProgressHUD/iProgressHUD/iProgressHUD.swift b/iProgressHUD/iProgressHUD/iProgressHUD.swift
index 0515390..de5e19e 100644
--- a/iProgressHUD/iProgressHUD/iProgressHUD.swift
+++ b/iProgressHUD/iProgressHUD/iProgressHUD.swift
@@ -26,11 +26,11 @@ open class iProgressHUD {
/** Get the indicator view. */
open var indicatorView: NVActivityIndicatorView!
/** Get the modal view. You can set image on modal view. */
- open let modalView: UIImageView = UIImageView()
+ public let modalView: UIImageView = UIImageView()
/** Get the box view. You can set image on box view. */
- open let boxView: UIImageView!
+ public let boxView: UIImageView!
/** Get the caption view. */
- open let captionView: UILabel!
+ public let captionView: UILabel!
/** Setting the indicator size in percent of box view. Default is 60%. */
open var indicatorSize: CGFloat = 60
/** Setting the alpha of modal view. Default is 0.7 */
@@ -82,7 +82,7 @@ open class iProgressHUD {
}
/** get sharedInstance class of iProgressHUD */
- open static func sharedInstance() -> iProgressHUD {
+ public static func sharedInstance() -> iProgressHUD {
let iPHUD = iProgressHUD()
return iPHUD
}
@@ -181,11 +181,11 @@ open class iProgressHUD {
view.addSubview(modalView)
view.addSubview(boxView)
if let lastViews = view.subviews.last {
- modalView.bringSubview(toFront: lastViews)
+ modalView.bringSubviewToFront(lastViews)
} else {
- modalView.bringSubview(toFront: view)
+ modalView.bringSubviewToFront(view)
}
- boxView.bringSubview(toFront: modalView)
+ boxView.bringSubviewToFront(modalView)
modalView.isHidden = true
boxView.isHidden = true
diff --git a/iProgressHUDDemo/Podfile b/iProgressHUDDemo/Podfile
index 2b4b3e6..6e686a1 100644
--- a/iProgressHUDDemo/Podfile
+++ b/iProgressHUDDemo/Podfile
@@ -2,5 +2,5 @@ use_frameworks!
platform :ios, '9.0'
target 'iProgressHUDDemo' do
- pod 'iProgressHUD', '~> 1.1.1'
+ pod 'iProgressHUD', '~> 2.0'
end
diff --git a/iProgressHUDDemo/Podfile.lock b/iProgressHUDDemo/Podfile.lock
index f2bece7..a1228ad 100644
--- a/iProgressHUDDemo/Podfile.lock
+++ b/iProgressHUDDemo/Podfile.lock
@@ -1,12 +1,12 @@
PODS:
- - iProgressHUD (1.1.1)
+ - iProgressHUD (2.0)
DEPENDENCIES:
- - iProgressHUD (~> 1.1.1)
+ - iProgressHUD (~> 2.0)
SPEC CHECKSUMS:
iProgressHUD: caa742128253c97f2c2e1ec59e2bbe6cf689df6a
PODFILE CHECKSUM: df49b4bdf053c1b1c302a162eff15c6f2909f8de
-COCOAPODS: 1.4.0
+COCOAPODS: 1.5.3
diff --git a/iProgressHUDDemo/Pods/Manifest.lock b/iProgressHUDDemo/Pods/Manifest.lock
index f2bece7..a1228ad 100644
--- a/iProgressHUDDemo/Pods/Manifest.lock
+++ b/iProgressHUDDemo/Pods/Manifest.lock
@@ -1,12 +1,12 @@
PODS:
- - iProgressHUD (1.1.1)
+ - iProgressHUD (2.0)
DEPENDENCIES:
- - iProgressHUD (~> 1.1.1)
+ - iProgressHUD (~> 2.0)
SPEC CHECKSUMS:
iProgressHUD: caa742128253c97f2c2e1ec59e2bbe6cf689df6a
PODFILE CHECKSUM: df49b4bdf053c1b1c302a162eff15c6f2909f8de
-COCOAPODS: 1.4.0
+COCOAPODS: 1.5.3
diff --git a/iProgressHUDDemo/Pods/Pods.xcodeproj/project.pbxproj b/iProgressHUDDemo/Pods/Pods.xcodeproj/project.pbxproj
index 825f12b..8d581d3 100644
--- a/iProgressHUDDemo/Pods/Pods.xcodeproj/project.pbxproj
+++ b/iProgressHUDDemo/Pods/Pods.xcodeproj/project.pbxproj
@@ -8,22 +8,21 @@
/* Begin PBXBuildFile section */
00CBCDA6D359BCC315C7EEC1B1288E40 /* NVActivityIndicatorAnimationPacman.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8359F8AC26142FEC1AF654E5C506A52E /* NVActivityIndicatorAnimationPacman.swift */; };
+ 0186327FED871CC9CBCDE1368E793AC4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */; };
01CCC40449AC3F7AC4C8997F645A833B /* NVActivityIndicatorAnimationBallClipRotatePulse.swift in Sources */ = {isa = PBXBuildFile; fileRef = F90656A6A84FBA1F15E406DA2773DAB1 /* NVActivityIndicatorAnimationBallClipRotatePulse.swift */; };
- 05E7B56B2299C8FCAAE2DC41E0D00BAC /* iProgressHUD-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AE4273489ECA0862DF6511615DEDE01A /* iProgressHUD-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 05E7B56B2299C8FCAAE2DC41E0D00BAC /* iProgressHUD-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E056AF3BEA01E037BE27D10FD2059A80 /* iProgressHUD-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
0AE09719C0D7F96D9998D0D76E4ABDB1 /* NVActivityIndicatorAnimationBallPulse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 148B1E4F429B97793A9118C855C15084 /* NVActivityIndicatorAnimationBallPulse.swift */; };
1093B2606090FE6FA11E7F43FD1945AC /* NVActivityIndicatorAnimationBallRotate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53DD3379B34582B4722144B5A593F748 /* NVActivityIndicatorAnimationBallRotate.swift */; };
14C678AE6AAC84084234C6E1B0A141AA /* NVActivityIndicatorAnimationCircleStrokeSpin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2297D669E596BD6C9367D984886DA239 /* NVActivityIndicatorAnimationCircleStrokeSpin.swift */; };
19458B0D02EB9C40A3F48AA7CBEC67C2 /* NVActivityIndicatorAnimationBallClipRotateMultiple.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7571DB3CE4A1B1B9F7F1ECF7FC051D86 /* NVActivityIndicatorAnimationBallClipRotateMultiple.swift */; };
- 1FCC5370CB4299EDF4BD9EE250163B41 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; };
221203874DF5127DBFE1A7866F8D497D /* NVActivityIndicatorAnimationBallScale.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06AD1CB45B0FBDF1CCAE56775D718A70 /* NVActivityIndicatorAnimationBallScale.swift */; };
- 226B39A4137CBD3A602EF670BBAD1BF9 /* Pods-iProgressHUDDemo-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1DFEB80E9D1B441D829F25C7527DA9B1 /* Pods-iProgressHUDDemo-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 226B39A4137CBD3A602EF670BBAD1BF9 /* Pods-iProgressHUDDemo-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A9A0D6182E52261AC9C95EE29886CF9D /* Pods-iProgressHUDDemo-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
25CB00C23647827FB58EB4E900FB603E /* NVActivityIndicatorAnimationBallScaleRippleMultiple.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEAA63E3AD1F8D7DB28626DCB4095C53 /* NVActivityIndicatorAnimationBallScaleRippleMultiple.swift */; };
2E9B806394CD58B893EC80BE5DB63B04 /* NVActivityIndicatorAnimationOrbit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E6BAC5D635B3244FFA35950C64D5651 /* NVActivityIndicatorAnimationOrbit.swift */; };
32748A588A02FE55EE8187612A5729EA /* NVActivityIndicatorAnimationBallScaleMultiple.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1641BC760CD1BD1EBF36E3887ABA2FA /* NVActivityIndicatorAnimationBallScaleMultiple.swift */; };
34A9D49BC9F406CE4525C92432FF7BF8 /* NVActivityIndicatorAnimationBallBeat.swift in Sources */ = {isa = PBXBuildFile; fileRef = D49399536126BAE10A858F7BE0D59A35 /* NVActivityIndicatorAnimationBallBeat.swift */; };
362DC9413765BB0C885E5063E3D39053 /* NVActivityIndicatorAnimationCubeTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653F203008ABA40A654AB522EF9ADB46 /* NVActivityIndicatorAnimationCubeTransition.swift */; };
4034FC22A17054A2B2A4721BCAF63505 /* NVActivityIndicatorAnimationBallClipRotate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8EB5C8B9C59EEB48C6F5B2343AEBD5D /* NVActivityIndicatorAnimationBallClipRotate.swift */; };
- 45C48C897DC1DFD2AF54E341B162206D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */; };
46BB708CE72DBD70E6F6236D4B7CD997 /* NVActivityIndicatorAnimationBallRotateChase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E8DFBEAAA75796A540278CBB8349E99 /* NVActivityIndicatorAnimationBallRotateChase.swift */; };
4C205EB0BBEFFEB0332340F8DC5DFF51 /* NVActivityIndicatorAnimationAudioEqualizer.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD4E07368B4FAC85B437A65C7CE0D833 /* NVActivityIndicatorAnimationAudioEqualizer.swift */; };
4CC4FD17AF1A0C5157FBE69EA5F0CF82 /* NVActivityIndicatorAnimationBallPulseSync.swift in Sources */ = {isa = PBXBuildFile; fileRef = E897841D740917157FD7A2594DDE5D23 /* NVActivityIndicatorAnimationBallPulseSync.swift */; };
@@ -38,7 +37,7 @@
7E1CC2871F9A124ADA34E4E6DD6A638F /* NVActivityIndicatorAnimationLineScale.swift in Sources */ = {isa = PBXBuildFile; fileRef = DABF971A12A5A3617CDF5EB8C34FF511 /* NVActivityIndicatorAnimationLineScale.swift */; };
8426596FB257E3A31758A2C65A84855F /* iProgressHUDDelegete.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75C4AC0510153EA7F70A719C94FEED33 /* iProgressHUDDelegete.swift */; };
859D5556EF4C7E2FBBF7A127D5E70AB7 /* NVActivityIndicatorAnimationLineScalePulseOut.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02EB740D5B1810E9CBD6BA2738FF908C /* NVActivityIndicatorAnimationLineScalePulseOut.swift */; };
- 8C6148AC6667F6675CC956C16EA96934 /* Pods-iProgressHUDDemo-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 268B988082AFA1D7517014ED13BA826C /* Pods-iProgressHUDDemo-dummy.m */; };
+ 8C6148AC6667F6675CC956C16EA96934 /* Pods-iProgressHUDDemo-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 727C40881990A3A1FDFEC642C561C436 /* Pods-iProgressHUDDemo-dummy.m */; };
8D18E2B02A7A296D39D75DC0938B2667 /* iProgressHUD.h in Headers */ = {isa = PBXBuildFile; fileRef = 919AA105233D68BC5FAABB16068534D1 /* iProgressHUD.h */; settings = {ATTRIBUTES = (Public, ); }; };
95BEEC2E48257922CA5B418E36D31C66 /* NVActivityIndicatorAnimationDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85095F4EB21E5A76B9704075B32C9D00 /* NVActivityIndicatorAnimationDelegate.swift */; };
99B469D89633D7AD14FA6B38ABA7FA64 /* NVActivityIndicatorAnimationLineSpinFadeLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = B25ABC8E1AE67E89789FC99E37C1CBC6 /* NVActivityIndicatorAnimationLineSpinFadeLoader.swift */; };
@@ -49,13 +48,14 @@
A5E62AE9B9DF9D2945D95152835ABA97 /* NVActivityIndicatorAnimationBallGridBeat.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6289FE1C033F8AE291E18DE3561F3B4 /* NVActivityIndicatorAnimationBallGridBeat.swift */; };
A6284D6ADEE23BDBE4BDB5347D97680F /* iProgressHUDGlobal.swift in Sources */ = {isa = PBXBuildFile; fileRef = A21B3D324497B86E49006A36641EC226 /* iProgressHUDGlobal.swift */; };
AA41E953D210EB4511274713DF090582 /* NVActivityIndicatorAnimationSquareSpin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E497C8D57B10A794CC033C0933E1099 /* NVActivityIndicatorAnimationSquareSpin.swift */; };
+ B28542CF42FBE8C00F2D8C5094594C24 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */; };
B6C312943142864F0912083619B430B1 /* iProgressHUDUtilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86EC8FF4BE48460142821D7EDB5D6819 /* iProgressHUDUtilities.swift */; };
BDF7304ACBE5939A4DFCD395F3C01B3B /* NVActivityIndicatorViewable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0B6B0950C56CA56C656BEB5F3E1A8E9 /* NVActivityIndicatorViewable.swift */; };
- C44553149EB05ABFB037D5EF1BD0F6A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; };
CACF1E04C38F95458CA52A1EF520371F /* NVActivityIndicatorAnimationBallPulseRise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E46A122D015DFF991FE3F93A326D1AE /* NVActivityIndicatorAnimationBallPulseRise.swift */; };
- D5721BFC07DCA75BE98D7C8E88BCEBED /* iProgressHUD-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AF4D4A29378ECE94E22946388CB8BAB3 /* iProgressHUD-dummy.m */; };
+ D5721BFC07DCA75BE98D7C8E88BCEBED /* iProgressHUD-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C5E583912A5386762A770CED56F66530 /* iProgressHUD-dummy.m */; };
E8724CA4AFBE6B95F9B1C2A5EE4B1E96 /* NVActivityIndicatorAnimationBallGridPulse.swift in Sources */ = {isa = PBXBuildFile; fileRef = D602C41E6DF26A4E8FAAD693110EDF6F /* NVActivityIndicatorAnimationBallGridPulse.swift */; };
ECEFB14AFA69BE66CB88DF912BD50E20 /* NVActivityIndicatorAnimationLineScaleParty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217A0AB3938F133F0D3D5DD09742E2AD /* NVActivityIndicatorAnimationLineScaleParty.swift */; };
+ F1990A0A66801B1C0E4675E1C666D45E /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC2C02191C153C1554B35DEE8B2D09D4 /* UIKit.framework */; };
FBC5C3AE44C2A976176B9040AB68976A /* NVActivityIndicatorAnimationTriangleSkewSpin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9113D5F8080F6DB522180C4CC798AC34 /* NVActivityIndicatorAnimationTriangleSkewSpin.swift */; };
/* End PBXBuildFile section */
@@ -71,67 +71,67 @@
/* Begin PBXFileReference section */
02EB740D5B1810E9CBD6BA2738FF908C /* NVActivityIndicatorAnimationLineScalePulseOut.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationLineScalePulseOut.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift; sourceTree = ""; };
- 05CBF5E5744713E54D6D1D9AF38B0EE7 /* Pods-iProgressHUDDemo.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-iProgressHUDDemo.modulemap"; sourceTree = ""; };
06AD1CB45B0FBDF1CCAE56775D718A70 /* NVActivityIndicatorAnimationBallScale.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallScale.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift; sourceTree = ""; };
- 0A4F9FC8CB3CCDEAD0F30329E4CD0D11 /* iProgressHUD.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = iProgressHUD.modulemap; sourceTree = ""; };
- 0DCAFE8B28FC1748747C8187E356FEB5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
148B1E4F429B97793A9118C855C15084 /* NVActivityIndicatorAnimationBallPulse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallPulse.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulse.swift; sourceTree = ""; };
1B18BC4D905A69664C6018226EBA9A90 /* NVActivityIndicatorAnimationLineScalePulseOutRapid.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationLineScalePulseOutRapid.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift; sourceTree = ""; };
1BE09728F9F5D1C8B3A402D4AEEC228C /* NVActivityIndicatorPresenter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorPresenter.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Presenter/NVActivityIndicatorPresenter.swift; sourceTree = ""; };
- 1CCFDBEFFBFAFEBE2B8EA80D3DC36144 /* Pods-iProgressHUDDemo-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-iProgressHUDDemo-acknowledgements.plist"; sourceTree = ""; };
+ 1BFE8592E4C75C5C26921EE403BC713A /* Pods-iProgressHUDDemo.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-iProgressHUDDemo.modulemap"; sourceTree = ""; };
1DEB001E68D48D2B32E88C25CFB2951C /* Pods_iProgressHUDDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_iProgressHUDDemo.framework; path = "Pods-iProgressHUDDemo.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
- 1DFEB80E9D1B441D829F25C7527DA9B1 /* Pods-iProgressHUDDemo-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-iProgressHUDDemo-umbrella.h"; sourceTree = ""; };
217A0AB3938F133F0D3D5DD09742E2AD /* NVActivityIndicatorAnimationLineScaleParty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationLineScaleParty.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift; sourceTree = ""; };
2297D669E596BD6C9367D984886DA239 /* NVActivityIndicatorAnimationCircleStrokeSpin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationCircleStrokeSpin.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift; sourceTree = ""; };
- 268B988082AFA1D7517014ED13BA826C /* Pods-iProgressHUDDemo-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-iProgressHUDDemo-dummy.m"; sourceTree = ""; };
+ 24BF6AD488A4D2365FFCABD05B7D944B /* iProgressHUD.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = iProgressHUD.xcconfig; sourceTree = ""; };
+ 266A4C721FE1740D0A48CC2482DE1832 /* Pods-iProgressHUDDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iProgressHUDDemo.release.xcconfig"; sourceTree = ""; };
+ 300880B84E9410F9060DB78B99BACF06 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
53DD3379B34582B4722144B5A593F748 /* NVActivityIndicatorAnimationBallRotate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallRotate.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotate.swift; sourceTree = ""; };
- 5CDACDB9D56972A5DF860646DF0AA22A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
5E497C8D57B10A794CC033C0933E1099 /* NVActivityIndicatorAnimationSquareSpin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationSquareSpin.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSquareSpin.swift; sourceTree = ""; };
653F203008ABA40A654AB522EF9ADB46 /* NVActivityIndicatorAnimationCubeTransition.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationCubeTransition.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift; sourceTree = ""; };
6A9364935F8168B74D8A60B1B6F6489F /* NVActivityIndicatorAnimationBallTrianglePath.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallTrianglePath.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift; sourceTree = ""; };
6E46A122D015DFF991FE3F93A326D1AE /* NVActivityIndicatorAnimationBallPulseRise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallPulseRise.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseRise.swift; sourceTree = ""; };
- 746E70D2BF6E4A95B1FAA2995632DF2F /* Pods-iProgressHUDDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iProgressHUDDemo.debug.xcconfig"; sourceTree = ""; };
+ 727C40881990A3A1FDFEC642C561C436 /* Pods-iProgressHUDDemo-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-iProgressHUDDemo-dummy.m"; sourceTree = ""; };
+ 73A7C17E743625E5453D45CE34D1F1A6 /* Pods-iProgressHUDDemo-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iProgressHUDDemo-frameworks.sh"; sourceTree = ""; };
7571DB3CE4A1B1B9F7F1ECF7FC051D86 /* NVActivityIndicatorAnimationBallClipRotateMultiple.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallClipRotateMultiple.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift; sourceTree = ""; };
75C4AC0510153EA7F70A719C94FEED33 /* iProgressHUDDelegete.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = iProgressHUDDelegete.swift; path = iProgressHUD/iProgressHUD/iProgressHUDDelegete.swift; sourceTree = ""; };
- 7E09DE7791CB668E6831116E620A4161 /* Pods-iProgressHUDDemo-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-iProgressHUDDemo-acknowledgements.markdown"; sourceTree = ""; };
7ED808EEC72B8D0FE5415577EB441848 /* iProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = iProgressHUD.framework; path = iProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8359F8AC26142FEC1AF654E5C506A52E /* NVActivityIndicatorAnimationPacman.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationPacman.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift; sourceTree = ""; };
85095F4EB21E5A76B9704075B32C9D00 /* NVActivityIndicatorAnimationDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationDelegate.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorAnimationDelegate.swift; sourceTree = ""; };
86EC8FF4BE48460142821D7EDB5D6819 /* iProgressHUDUtilities.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = iProgressHUDUtilities.swift; path = iProgressHUD/iProgressHUD/iProgressHUDUtilities.swift; sourceTree = ""; };
89200E855668624BE2CCEB5AC1A4915E /* iProgressHUD.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = iProgressHUD.swift; path = iProgressHUD/iProgressHUD/iProgressHUD.swift; sourceTree = ""; };
8E6BAC5D635B3244FFA35950C64D5651 /* NVActivityIndicatorAnimationOrbit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationOrbit.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift; sourceTree = ""; };
- 8F23CA11C81E95A15D9D076881668CFB /* Pods-iProgressHUDDemo-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iProgressHUDDemo-resources.sh"; sourceTree = ""; };
+ 9021FA1324D67FCFC3E92EFDE1B876E9 /* iProgressHUD.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = iProgressHUD.modulemap; sourceTree = ""; };
+ 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
9113D5F8080F6DB522180C4CC798AC34 /* NVActivityIndicatorAnimationTriangleSkewSpin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationTriangleSkewSpin.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift; sourceTree = ""; };
919AA105233D68BC5FAABB16068534D1 /* iProgressHUD.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = iProgressHUD.h; path = iProgressHUD/iProgressHUD/iProgressHUD.h; sourceTree = ""; };
93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+ 9B14572301A2F126ADD02C795E019C93 /* Pods-iProgressHUDDemo-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iProgressHUDDemo-resources.sh"; sourceTree = ""; };
9E8DFBEAAA75796A540278CBB8349E99 /* NVActivityIndicatorAnimationBallRotateChase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallRotateChase.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotateChase.swift; sourceTree = ""; };
- 9F59E394E7652471EA73DD575172EC04 /* iProgressHUD.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = iProgressHUD.xcconfig; sourceTree = ""; };
A21B3D324497B86E49006A36641EC226 /* iProgressHUDGlobal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = iProgressHUDGlobal.swift; path = iProgressHUD/iProgressHUD/iProgressHUDGlobal.swift; sourceTree = ""; };
A6289FE1C033F8AE291E18DE3561F3B4 /* NVActivityIndicatorAnimationBallGridBeat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallGridBeat.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift; sourceTree = ""; };
A6D6FF9E7018FC6089CB616C7A54DA84 /* NVActivityIndicatorAnimationBallZigZagDeflect.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallZigZagDeflect.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift; sourceTree = ""; };
- AE4273489ECA0862DF6511615DEDE01A /* iProgressHUD-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "iProgressHUD-umbrella.h"; sourceTree = ""; };
- AF4D4A29378ECE94E22946388CB8BAB3 /* iProgressHUD-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "iProgressHUD-dummy.m"; sourceTree = ""; };
+ A9A0D6182E52261AC9C95EE29886CF9D /* Pods-iProgressHUDDemo-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-iProgressHUDDemo-umbrella.h"; sourceTree = ""; };
+ B11DD8F47FD6B45F05BBC9E193ECE99D /* Pods-iProgressHUDDemo-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-iProgressHUDDemo-acknowledgements.plist"; sourceTree = ""; };
B25ABC8E1AE67E89789FC99E37C1CBC6 /* NVActivityIndicatorAnimationLineSpinFadeLoader.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationLineSpinFadeLoader.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift; sourceTree = ""; };
- B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
B6A2E11DC419F2D73513CC0C80DFCEDC /* NVActivityIndicatorAnimationSemiCircleSpin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationSemiCircleSpin.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift; sourceTree = ""; };
B83EAD050633129ABBA895B5CBD1DAA4 /* NVActivityIndicatorAnimationBallScaleRipple.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallScaleRipple.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift; sourceTree = ""; };
- B8FFB9AB6CF4980C34F7E65BC3D18469 /* Pods-iProgressHUDDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iProgressHUDDemo.release.xcconfig"; sourceTree = ""; };
+ BC2C02191C153C1554B35DEE8B2D09D4 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
BD06B227D656377BD7B2BF179C7F7850 /* NVActivityIndicatorAnimationBallSpinFadeLoader.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallSpinFadeLoader.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift; sourceTree = ""; };
+ C25E2D35B79729036DA61EA7BC5BB7F8 /* iProgressHUD-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "iProgressHUD-prefix.pch"; sourceTree = ""; };
+ C5E583912A5386762A770CED56F66530 /* iProgressHUD-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "iProgressHUD-dummy.m"; sourceTree = ""; };
C8EB5C8B9C59EEB48C6F5B2343AEBD5D /* NVActivityIndicatorAnimationBallClipRotate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallClipRotate.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift; sourceTree = ""; };
D0B6B0950C56CA56C656BEB5F3E1A8E9 /* NVActivityIndicatorViewable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorViewable.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Presenter/NVActivityIndicatorViewable.swift; sourceTree = ""; };
D1641BC760CD1BD1EBF36E3887ABA2FA /* NVActivityIndicatorAnimationBallScaleMultiple.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallScaleMultiple.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift; sourceTree = ""; };
D49399536126BAE10A858F7BE0D59A35 /* NVActivityIndicatorAnimationBallBeat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallBeat.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift; sourceTree = ""; };
D602C41E6DF26A4E8FAAD693110EDF6F /* NVActivityIndicatorAnimationBallGridPulse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallGridPulse.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift; sourceTree = ""; };
- D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
- D907C5C63E8E9AA6D24A832B9ACDDE11 /* Pods-iProgressHUDDemo-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iProgressHUDDemo-frameworks.sh"; sourceTree = ""; };
+ DA6C0DC90340C6E9C73639B453CA6589 /* Pods-iProgressHUDDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iProgressHUDDemo.debug.xcconfig"; sourceTree = ""; };
DABF971A12A5A3617CDF5EB8C34FF511 /* NVActivityIndicatorAnimationLineScale.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationLineScale.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScale.swift; sourceTree = ""; };
DD4E07368B4FAC85B437A65C7CE0D833 /* NVActivityIndicatorAnimationAudioEqualizer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationAudioEqualizer.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift; sourceTree = ""; };
+ DDD5A87ECC5668BEE811FAB199807CA5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
DEAA63E3AD1F8D7DB28626DCB4095C53 /* NVActivityIndicatorAnimationBallScaleRippleMultiple.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallScaleRippleMultiple.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift; sourceTree = ""; };
+ DF4F1A7D3BE29577A0A19B6A5FD75FB2 /* Pods-iProgressHUDDemo-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-iProgressHUDDemo-acknowledgements.markdown"; sourceTree = ""; };
DF939949018EF0E41D92F36881BA93F6 /* NVActivityIndicatorShape.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorShape.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorShape.swift; sourceTree = ""; };
+ E056AF3BEA01E037BE27D10FD2059A80 /* iProgressHUD-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "iProgressHUD-umbrella.h"; sourceTree = ""; };
E7E6A7D7B6BAD35539B0556F3B0CD0BD /* NVActivityIndicatorView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorView.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift; sourceTree = ""; };
E897841D740917157FD7A2594DDE5D23 /* NVActivityIndicatorAnimationBallPulseSync.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallPulseSync.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift; sourceTree = ""; };
ECFF546DE416489C29C587638CD58065 /* NVActivityIndicatorAnimationBallZigZag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallZigZag.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift; sourceTree = ""; };
- F24242620CDDAA9B17C3FC1CA3B19B47 /* iProgressHUD-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "iProgressHUD-prefix.pch"; sourceTree = ""; };
F79F3F89BCADC48BA695F9501B640549 /* NVActivityIndicatorAnimationBlank.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBlank.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBlank.swift; sourceTree = ""; };
F90656A6A84FBA1F15E406DA2773DAB1 /* NVActivityIndicatorAnimationBallClipRotatePulse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NVActivityIndicatorAnimationBallClipRotatePulse.swift; path = iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift; sourceTree = ""; };
/* End PBXFileReference section */
@@ -141,7 +141,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 1FCC5370CB4299EDF4BD9EE250163B41 /* Foundation.framework in Frameworks */,
+ 0186327FED871CC9CBCDE1368E793AC4 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -149,43 +149,43 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- C44553149EB05ABFB037D5EF1BD0F6A5 /* Foundation.framework in Frameworks */,
- 45C48C897DC1DFD2AF54E341B162206D /* UIKit.framework in Frameworks */,
+ B28542CF42FBE8C00F2D8C5094594C24 /* Foundation.framework in Frameworks */,
+ F1990A0A66801B1C0E4675E1C666D45E /* UIKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
- 0F35705780F6D57F6B4C006F6B7DC9B9 /* Support Files */ = {
+ 05217C065A14507C58B6B7250FE86211 /* Support Files */ = {
isa = PBXGroup;
children = (
- 5CDACDB9D56972A5DF860646DF0AA22A /* Info.plist */,
- 0A4F9FC8CB3CCDEAD0F30329E4CD0D11 /* iProgressHUD.modulemap */,
- 9F59E394E7652471EA73DD575172EC04 /* iProgressHUD.xcconfig */,
- AF4D4A29378ECE94E22946388CB8BAB3 /* iProgressHUD-dummy.m */,
- F24242620CDDAA9B17C3FC1CA3B19B47 /* iProgressHUD-prefix.pch */,
- AE4273489ECA0862DF6511615DEDE01A /* iProgressHUD-umbrella.h */,
+ 300880B84E9410F9060DB78B99BACF06 /* Info.plist */,
+ 9021FA1324D67FCFC3E92EFDE1B876E9 /* iProgressHUD.modulemap */,
+ 24BF6AD488A4D2365FFCABD05B7D944B /* iProgressHUD.xcconfig */,
+ C5E583912A5386762A770CED56F66530 /* iProgressHUD-dummy.m */,
+ C25E2D35B79729036DA61EA7BC5BB7F8 /* iProgressHUD-prefix.pch */,
+ E056AF3BEA01E037BE27D10FD2059A80 /* iProgressHUD-umbrella.h */,
);
name = "Support Files";
path = "../Target Support Files/iProgressHUD";
sourceTree = "";
};
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = {
+ 10DEDCB394BAA0C7FEDEBE330207B074 /* iOS */ = {
isa = PBXGroup;
children = (
- 438B396F6B4147076630CAEFE34282C1 /* iOS */,
+ 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */,
+ BC2C02191C153C1554B35DEE8B2D09D4 /* UIKit.framework */,
);
- name = Frameworks;
+ name = iOS;
sourceTree = "";
};
- 438B396F6B4147076630CAEFE34282C1 /* iOS */ = {
+ 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = {
isa = PBXGroup;
children = (
- D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */,
- B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */,
+ 10DEDCB394BAA0C7FEDEBE330207B074 /* iOS */,
);
- name = iOS;
+ name = Frameworks;
sourceTree = "";
};
50833229F4FA7730E504449307CF94CD /* Products */ = {
@@ -243,34 +243,16 @@
DF939949018EF0E41D92F36881BA93F6 /* NVActivityIndicatorShape.swift */,
E7E6A7D7B6BAD35539B0556F3B0CD0BD /* NVActivityIndicatorView.swift */,
D0B6B0950C56CA56C656BEB5F3E1A8E9 /* NVActivityIndicatorViewable.swift */,
- 0F35705780F6D57F6B4C006F6B7DC9B9 /* Support Files */,
+ 05217C065A14507C58B6B7250FE86211 /* Support Files */,
);
name = iProgressHUD;
path = iProgressHUD;
sourceTree = "";
};
- 6007BEE201340B2F035148C384A90D9D /* Pods-iProgressHUDDemo */ = {
- isa = PBXGroup;
- children = (
- 0DCAFE8B28FC1748747C8187E356FEB5 /* Info.plist */,
- 05CBF5E5744713E54D6D1D9AF38B0EE7 /* Pods-iProgressHUDDemo.modulemap */,
- 7E09DE7791CB668E6831116E620A4161 /* Pods-iProgressHUDDemo-acknowledgements.markdown */,
- 1CCFDBEFFBFAFEBE2B8EA80D3DC36144 /* Pods-iProgressHUDDemo-acknowledgements.plist */,
- 268B988082AFA1D7517014ED13BA826C /* Pods-iProgressHUDDemo-dummy.m */,
- D907C5C63E8E9AA6D24A832B9ACDDE11 /* Pods-iProgressHUDDemo-frameworks.sh */,
- 8F23CA11C81E95A15D9D076881668CFB /* Pods-iProgressHUDDemo-resources.sh */,
- 1DFEB80E9D1B441D829F25C7527DA9B1 /* Pods-iProgressHUDDemo-umbrella.h */,
- 746E70D2BF6E4A95B1FAA2995632DF2F /* Pods-iProgressHUDDemo.debug.xcconfig */,
- B8FFB9AB6CF4980C34F7E65BC3D18469 /* Pods-iProgressHUDDemo.release.xcconfig */,
- );
- name = "Pods-iProgressHUDDemo";
- path = "Target Support Files/Pods-iProgressHUDDemo";
- sourceTree = "";
- };
6CCF0EAE910A640CAFAE7E1276F44678 /* Targets Support Files */ = {
isa = PBXGroup;
children = (
- 6007BEE201340B2F035148C384A90D9D /* Pods-iProgressHUDDemo */,
+ 7F8368A428F5C46B740836974C6C2430 /* Pods-iProgressHUDDemo */,
);
name = "Targets Support Files";
sourceTree = "";
@@ -286,6 +268,24 @@
);
sourceTree = "";
};
+ 7F8368A428F5C46B740836974C6C2430 /* Pods-iProgressHUDDemo */ = {
+ isa = PBXGroup;
+ children = (
+ DDD5A87ECC5668BEE811FAB199807CA5 /* Info.plist */,
+ 1BFE8592E4C75C5C26921EE403BC713A /* Pods-iProgressHUDDemo.modulemap */,
+ DF4F1A7D3BE29577A0A19B6A5FD75FB2 /* Pods-iProgressHUDDemo-acknowledgements.markdown */,
+ B11DD8F47FD6B45F05BBC9E193ECE99D /* Pods-iProgressHUDDemo-acknowledgements.plist */,
+ 727C40881990A3A1FDFEC642C561C436 /* Pods-iProgressHUDDemo-dummy.m */,
+ 73A7C17E743625E5453D45CE34D1F1A6 /* Pods-iProgressHUDDemo-frameworks.sh */,
+ 9B14572301A2F126ADD02C795E019C93 /* Pods-iProgressHUDDemo-resources.sh */,
+ A9A0D6182E52261AC9C95EE29886CF9D /* Pods-iProgressHUDDemo-umbrella.h */,
+ DA6C0DC90340C6E9C73639B453CA6589 /* Pods-iProgressHUDDemo.debug.xcconfig */,
+ 266A4C721FE1740D0A48CC2482DE1832 /* Pods-iProgressHUDDemo.release.xcconfig */,
+ );
+ name = "Pods-iProgressHUDDemo";
+ path = "Target Support Files/Pods-iProgressHUDDemo";
+ sourceTree = "";
+ };
F403AEE550097656FA7C8269CA4D72D7 /* Pods */ = {
isa = PBXGroup;
children = (
@@ -358,8 +358,8 @@
D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
isa = PBXProject;
attributes = {
- LastSwiftUpdateCheck = 0830;
- LastUpgradeCheck = 0700;
+ LastSwiftUpdateCheck = 0930;
+ LastUpgradeCheck = 0930;
};
buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
compatibilityVersion = "Xcode 3.2";
@@ -450,9 +450,9 @@
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
- 1578A46794ED586B6902E6AE8F31F5C3 /* Debug */ = {
+ 0328799C65AAC8ABA4EA009E15829D3C /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 9F59E394E7652471EA73DD575172EC04 /* iProgressHUD.xcconfig */;
+ baseConfigurationReference = 24BF6AD488A4D2365FFCABD05B7D944B /* iProgressHUD.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
@@ -469,22 +469,24 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = "Target Support Files/iProgressHUD/iProgressHUD.modulemap";
+ PRODUCT_MODULE_NAME = iProgressHUD;
PRODUCT_NAME = iProgressHUD;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 4.0;
+ SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
- 1C36645ACB132E3A21C5A7E021FA6698 /* Debug */ = {
+ 0334CB3D17BE8A1E0330BDC1FBD2567E /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 746E70D2BF6E4A95B1FAA2995632DF2F /* Pods-iProgressHUDDemo.debug.xcconfig */;
+ baseConfigurationReference = 266A4C721FE1740D0A48CC2482DE1832 /* Pods-iProgressHUDDemo.release.xcconfig */;
buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
@@ -504,18 +506,18 @@
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = Pods_iProgressHUDDemo;
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
- name = Debug;
+ name = Release;
};
- 6F9224530522DD3C735EC96CF142642E /* Release */ = {
+ 199D972A13F2B4C56847F7A89CCA83BC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
@@ -525,10 +527,12 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@@ -536,6 +540,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -544,15 +549,19 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGNING_ALLOWED = NO;
CODE_SIGNING_REQUIRED = NO;
COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
- "POD_CONFIGURATION_RELEASE=1",
+ "POD_CONFIGURATION_DEBUG=1",
+ "DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -562,17 +571,18 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
- MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
STRIP_INSTALLED_PRODUCT = NO;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SYMROOT = "${SRCROOT}/../build";
};
- name = Release;
+ name = Debug;
};
- 8C8402C9DDB5F3E32848994ACD5F7C56 /* Release */ = {
+ 1BD276665F657D85343F8217C9AA403C /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 9F59E394E7652471EA73DD575172EC04 /* iProgressHUD.xcconfig */;
+ baseConfigurationReference = 24BF6AD488A4D2365FFCABD05B7D944B /* iProgressHUD.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
@@ -589,12 +599,13 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = "Target Support Files/iProgressHUD/iProgressHUD.modulemap";
+ PRODUCT_MODULE_NAME = iProgressHUD;
PRODUCT_NAME = iProgressHUD;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- SWIFT_VERSION = 4.0;
+ SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
@@ -602,10 +613,11 @@
};
name = Release;
};
- B2AC9227E4F43E3CB2366EF075E632AE /* Release */ = {
+ F220335092D4AD6F2EDBB3F35E5CBF63 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = B8FFB9AB6CF4980C34F7E65BC3D18469 /* Pods-iProgressHUDDemo.release.xcconfig */;
+ baseConfigurationReference = DA6C0DC90340C6E9C73639B453CA6589 /* Pods-iProgressHUDDemo.debug.xcconfig */;
buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
@@ -625,18 +637,18 @@
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = Pods_iProgressHUDDemo;
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
- name = Release;
+ name = Debug;
};
- B57951D085A1B98A97F8A1062A5E5C5B /* Debug */ = {
+ FDB2FC4A1E5891381CD9D922145497F1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
@@ -646,10 +658,12 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@@ -657,6 +671,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -665,18 +680,16 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGNING_ALLOWED = NO;
CODE_SIGNING_REQUIRED = NO;
COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
- GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
- "POD_CONFIGURATION_DEBUG=1",
- "DEBUG=1",
+ "POD_CONFIGURATION_RELEASE=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -686,15 +699,12 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
+ MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
STRIP_INSTALLED_PRODUCT = NO;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SYMROOT = "${SRCROOT}/../build";
};
- name = Debug;
+ name = Release;
};
/* End XCBuildConfiguration section */
@@ -702,8 +712,8 @@
0BFB8241D7F42474C21AA3A1F15B6C5F /* Build configuration list for PBXNativeTarget "iProgressHUD" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- 1578A46794ED586B6902E6AE8F31F5C3 /* Debug */,
- 8C8402C9DDB5F3E32848994ACD5F7C56 /* Release */,
+ 0328799C65AAC8ABA4EA009E15829D3C /* Debug */,
+ 1BD276665F657D85343F8217C9AA403C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
@@ -711,8 +721,8 @@
2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- B57951D085A1B98A97F8A1062A5E5C5B /* Debug */,
- 6F9224530522DD3C735EC96CF142642E /* Release */,
+ 199D972A13F2B4C56847F7A89CCA83BC /* Debug */,
+ FDB2FC4A1E5891381CD9D922145497F1 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
@@ -720,8 +730,8 @@
5112AB766B32AD0043761F1195B4D7D6 /* Build configuration list for PBXNativeTarget "Pods-iProgressHUDDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- 1C36645ACB132E3A21C5A7E021FA6698 /* Debug */,
- B2AC9227E4F43E3CB2366EF075E632AE /* Release */,
+ F220335092D4AD6F2EDBB3F35E5CBF63 /* Debug */,
+ 0334CB3D17BE8A1E0330BDC1FBD2567E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
diff --git a/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-frameworks.sh b/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-frameworks.sh
index 49a3b95..c33c202 100755
--- a/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-frameworks.sh
+++ b/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-frameworks.sh
@@ -1,9 +1,18 @@
#!/bin/sh
set -e
+set -u
+set -o pipefail
+
+if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
+ # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
+ # frameworks to, so exit 0 (signalling the script phase was successful).
+ exit 0
+fi
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
# Used as a return value for each invocation of `strip_invalid_archs` function.
@@ -92,10 +101,10 @@ install_dsym() {
# Signs a framework with the provided identity
code_sign_if_enabled() {
- if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
+ if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
# Use the current code_sign_identitiy
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
- local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'"
+ local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
code_sign_cmd="$code_sign_cmd &"
diff --git a/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-resources.sh b/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-resources.sh
index a7df440..345301f 100755
--- a/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-resources.sh
+++ b/iProgressHUDDemo/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-resources.sh
@@ -1,5 +1,13 @@
#!/bin/sh
set -e
+set -u
+set -o pipefail
+
+if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then
+ # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy
+ # resources to, so exit 0 (signalling the script phase was successful).
+ exit 0
+fi
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
@@ -12,7 +20,7 @@ XCASSET_FILES=()
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
-case "${TARGETED_DEVICE_FAMILY}" in
+case "${TARGETED_DEVICE_FAMILY:-}" in
1,2)
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
;;
@@ -92,7 +100,7 @@ if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
fi
rm -f "$RESOURCES_TO_COPY"
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
+if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ]
then
# Find all other xcassets (this unfortunately includes those of path pods and other targets).
OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
@@ -102,5 +110,9 @@ then
fi
done <<<"$OTHER_XCASSETS"
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+ if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then
+ printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+ else
+ printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist"
+ fi
fi
diff --git a/iProgressHUDDemo/Pods/Target Support Files/iProgressHUD/iProgressHUD.xcconfig b/iProgressHUDDemo/Pods/Target Support Files/iProgressHUD/iProgressHUD.xcconfig
index 876a8c0..c652aca 100644
--- a/iProgressHUDDemo/Pods/Target Support Files/iProgressHUD/iProgressHUD.xcconfig
+++ b/iProgressHUDDemo/Pods/Target Support Files/iProgressHUD/iProgressHUD.xcconfig
@@ -1,6 +1,5 @@
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/iProgressHUD
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit"
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
PODS_BUILD_DIR = ${BUILD_DIR}
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift
index 595ada3..43a6fbe 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift
@@ -56,7 +56,7 @@ class NVActivityIndicatorAnimationBallBeat: NVActivityIndicatorAnimationDelegate
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift
index f6b9979..5c2a434 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift
@@ -48,7 +48,7 @@ class NVActivityIndicatorAnimationBallClipRotate: NVActivityIndicatorAnimationDe
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, rotateAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift
index 592691b..a64425a 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift
@@ -33,7 +33,7 @@ class NVActivityIndicatorAnimationBallClipRotateMultiple: NVActivityIndicatorAni
let bigCircleSize: CGFloat = size.width
let smallCircleSize: CGFloat = size.width / 2
let longDuration: CFTimeInterval = 1
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
circleOf(shape: .ringTwoHalfHorizontal,
duration: longDuration,
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift
index 66ece23..5e5716f 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationBallGridBeat: NVActivityIndicatorAnimationDele
let durations = [0.96, 0.93, 1.19, 1.13, 1.34, 0.94, 1.2, 0.82, 1.19]
let beginTime = CACurrentMediaTime()
let beginTimes = [0.36, 0.4, 0.68, 0.41, 0.71, -0.15, -0.12, 0.01, 0.32]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Animation
let animation = CAKeyframeAnimation(keyPath: "opacity")
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift
index 67e99a3..6870e82 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationBallGridPulse: NVActivityIndicatorAnimationDel
let durations: [CFTimeInterval] = [0.72, 1.02, 1.28, 1.42, 1.45, 1.18, 0.87, 1.45, 1.06]
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [ -0.06, 0.25, -0.17, 0.48, 0.31, 0.03, 0.46, 0.78, 0.45]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Scale animation
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift
index b2b49a4..614d70e 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift
@@ -38,7 +38,7 @@ class NVActivityIndicatorAnimationBallPulseSync: NVActivityIndicatorAnimationDel
let duration: CFTimeInterval = 0.6
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0.07, 0.14, 0.21]
- let timingFunciton = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunciton = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Animation
let animation = CAKeyframeAnimation(keyPath: "transform.translation.y")
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift
index 5c78617..50c6bd0 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift
@@ -50,7 +50,7 @@ class NVActivityIndicatorAnimationBallScale: NVActivityIndicatorAnimationDelegat
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift
index 5ad1a8b..c5315c3 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift
@@ -52,7 +52,7 @@ class NVActivityIndicatorAnimationBallScaleMultiple: NVActivityIndicatorAnimatio
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift
index c368d44..1d81d36 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift
@@ -56,7 +56,7 @@ class NVActivityIndicatorAnimationBallSpinFadeLoader: NVActivityIndicatorAnimati
let animation = CAAnimationGroup()
animation.animations = [scaleAnimation, opacityAnimaton]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = duration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift
index f9ee7f4..818a226 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift
@@ -36,7 +36,7 @@ class NVActivityIndicatorAnimationBallTrianglePath: NVActivityIndicatorAnimation
let x = (layer.bounds.size.width - size.width) / 2
let y = (layer.bounds.size.height - size.height) / 2
let duration: CFTimeInterval = 2
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Animation
let animation = CAKeyframeAnimation(keyPath: "transform")
@@ -76,7 +76,7 @@ class NVActivityIndicatorAnimationBallTrianglePath: NVActivityIndicatorAnimation
let values = NSMutableArray(capacity: 5)
for rawValue in rawValues {
- let point = CGPointFromString(translateString(rawValue, deltaX: deltaX, deltaY: deltaY))
+ let point = NSCoder.cgPoint(for: translateString(rawValue, deltaX: deltaX, deltaY: deltaY))
values.add(NSValue(caTransform3D: CATransform3DMakeTranslation(point.x, point.y, 0)))
}
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift
index ae3560a..224c3b4 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift
@@ -41,7 +41,7 @@ class NVActivityIndicatorAnimationBallZigZag: NVActivityIndicatorAnimationDelega
let animation = CAKeyframeAnimation(keyPath: "transform")
animation.keyTimes = [0, 0.33, 0.66, 1]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.values = [
NSValue(caTransform3D: CATransform3DMakeTranslation(0, 0, 0)),
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift
index 6dc4f50..aec8178 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift
@@ -40,7 +40,7 @@ class NVActivityIndicatorAnimationBallZigZagDeflect: NVActivityIndicatorAnimatio
let animation = CAKeyframeAnimation(keyPath: "transform")
animation.keyTimes = [0, 0.33, 0.66, 1]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.values = [
NSValue(caTransform3D: CATransform3DMakeTranslation(0, 0, 0)),
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift
index 109df38..2343ec6 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift
@@ -36,7 +36,7 @@ class NVActivityIndicatorAnimationCircleStrokeSpin: NVActivityIndicatorAnimation
let rotationAnimation = CABasicAnimation(keyPath: "transform.rotation")
rotationAnimation.byValue = Float.pi * 2
- rotationAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ rotationAnimation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
let strokeEndAnimation = CABasicAnimation(keyPath: "strokeEnd")
strokeEndAnimation.duration = strokeEndDuration
@@ -56,7 +56,7 @@ class NVActivityIndicatorAnimationCircleStrokeSpin: NVActivityIndicatorAnimation
groupAnimation.duration = strokeStartDuration + beginTime
groupAnimation.repeatCount = .infinity
groupAnimation.isRemovedOnCompletion = false
- groupAnimation.fillMode = kCAFillModeForwards
+ groupAnimation.fillMode = CAMediaTimingFillMode.forwards
let circle = NVActivityIndicatorShape.stroke.layerWith(size: size, color: color)
let frame = CGRect(
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift
index 2ab8e18..10e7722 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift
@@ -38,7 +38,7 @@ class NVActivityIndicatorAnimationCubeTransition: NVActivityIndicatorAnimationDe
let duration: CFTimeInterval = 1.6
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0, -0.8]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Scale animation
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift
index fc1834f..a82cb48 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift
@@ -36,7 +36,7 @@ class NVActivityIndicatorAnimationLineScaleParty: NVActivityIndicatorAnimationDe
let durations: [CFTimeInterval] = [1.26, 0.43, 1.01, 0.73]
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0.77, 0.29, 0.28, 0.74]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Animation
let animation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift
index 23db058..36b4079 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationLineSpinFadeLoader: NVActivityIndicatorAnimati
let duration: CFTimeInterval = 1.2
let beginTime = CACurrentMediaTime()
let beginTimes: [CFTimeInterval] = [0.12, 0.24, 0.36, 0.48, 0.6, 0.72, 0.84, 0.96]
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
// Animation
let animation = CAKeyframeAnimation(keyPath: "opacity")
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift
index 524bafe..2b65554 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift
@@ -50,7 +50,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
scaleAnimation.keyTimes = [0, 0.45, 0.45, 1]
- scaleAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ scaleAnimation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
scaleAnimation.values = [0, 0, 1.3, 2]
scaleAnimation.duration = duration
@@ -59,7 +59,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let timingFunction = CAMediaTimingFunction(controlPoints: 0.19, 1, 0.22, 1)
opacityAnimation.keyTimes = [0, 0.45, 1]
- scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear), timingFunction]
+ scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear), timingFunction]
opacityAnimation.values = [0.8, 0.8, 0]
opacityAnimation.duration = duration
@@ -88,7 +88,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
scaleAnimation.keyTimes = [0, 0.55, 0.55, 1]
- scaleAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ scaleAnimation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
scaleAnimation.values = [0, 0, 1.3, 2.1]
scaleAnimation.duration = duration
@@ -97,7 +97,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
let timingFunction = CAMediaTimingFunction(controlPoints: 0.19, 1, 0.22, 1)
opacityAnimation.keyTimes = [0, 0.55, 0.65, 1]
- scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear), timingFunction]
+ scaleAnimation.timingFunctions = [CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear), timingFunction]
opacityAnimation.values = [0.7, 0.7, 0, 0]
opacityAnimation.duration = duration
@@ -124,7 +124,7 @@ class NVActivityIndicatorAnimationOrbit: NVActivityIndicatorAnimationDelegate {
func coreInLayer(_ layer: CALayer, size _: CGSize, color: UIColor) {
let inTimingFunction = CAMediaTimingFunction(controlPoints: 0.7, 0, 1, 0.5)
let outTimingFunction = CAMediaTimingFunction(controlPoints: 0, 0.7, 0.5, 1)
- let standByTimingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ let standByTimingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
// Scale animation
let scaleAnimation = CAKeyframeAnimation(keyPath: "transform.scale")
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift
index f1d7c9a..8e5e72b 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift
@@ -37,7 +37,7 @@ class NVActivityIndicatorAnimationPacman: NVActivityIndicatorAnimationDelegate {
func pacmanInLayer(_ layer: CALayer, size: CGSize, color: UIColor) {
let pacmanSize = 2 * size.width / 3
let pacmanDuration: CFTimeInterval = 0.5
- let timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
+ let timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default)
// Stroke start animation
let strokeStartAnimation = CAKeyframeAnimation(keyPath: "strokeStart")
@@ -99,7 +99,7 @@ class NVActivityIndicatorAnimationPacman: NVActivityIndicatorAnimationDelegate {
let animation = CAAnimationGroup()
animation.animations = [translateAnimation, opacityAnimation]
- animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
+ animation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.linear)
animation.duration = circleDuration
animation.repeatCount = HUGE
animation.isRemovedOnCompletion = false
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift
index a90a7e5..f70729d 100755
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/NVActivityIndicatorView/NVActivityIndicatorView.swift
@@ -500,7 +500,7 @@ public final class NVActivityIndicatorView: UIView {
internal final func setUpAnimation() {
let animation: NVActivityIndicatorAnimationDelegate = type.animation()
- var animationRect = UIEdgeInsetsInsetRect(frame, UIEdgeInsetsMake(padding, padding, padding, padding))
+ var animationRect = frame.inset(by: UIEdgeInsets(top: padding, left: padding, bottom: padding, right: padding))
let minEdge = min(animationRect.width, animationRect.height)
layer.sublayers = nil
diff --git a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/iProgressHUD.swift b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/iProgressHUD.swift
index 0515390..de5e19e 100644
--- a/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/iProgressHUD.swift
+++ b/iProgressHUDDemo/Pods/iProgressHUD/iProgressHUD/iProgressHUD/iProgressHUD.swift
@@ -26,11 +26,11 @@ open class iProgressHUD {
/** Get the indicator view. */
open var indicatorView: NVActivityIndicatorView!
/** Get the modal view. You can set image on modal view. */
- open let modalView: UIImageView = UIImageView()
+ public let modalView: UIImageView = UIImageView()
/** Get the box view. You can set image on box view. */
- open let boxView: UIImageView!
+ public let boxView: UIImageView!
/** Get the caption view. */
- open let captionView: UILabel!
+ public let captionView: UILabel!
/** Setting the indicator size in percent of box view. Default is 60%. */
open var indicatorSize: CGFloat = 60
/** Setting the alpha of modal view. Default is 0.7 */
@@ -82,7 +82,7 @@ open class iProgressHUD {
}
/** get sharedInstance class of iProgressHUD */
- open static func sharedInstance() -> iProgressHUD {
+ public static func sharedInstance() -> iProgressHUD {
let iPHUD = iProgressHUD()
return iPHUD
}
@@ -181,11 +181,11 @@ open class iProgressHUD {
view.addSubview(modalView)
view.addSubview(boxView)
if let lastViews = view.subviews.last {
- modalView.bringSubview(toFront: lastViews)
+ modalView.bringSubviewToFront(lastViews)
} else {
- modalView.bringSubview(toFront: view)
+ modalView.bringSubviewToFront(view)
}
- boxView.bringSubview(toFront: modalView)
+ boxView.bringSubviewToFront(modalView)
modalView.isHidden = true
boxView.isHidden = true
diff --git a/iProgressHUDDemo/iProgressHUDDemo.xcodeproj/project.pbxproj b/iProgressHUDDemo/iProgressHUDDemo.xcodeproj/project.pbxproj
index f9e89b7..823d994 100644
--- a/iProgressHUDDemo/iProgressHUDDemo.xcodeproj/project.pbxproj
+++ b/iProgressHUDDemo/iProgressHUDDemo.xcodeproj/project.pbxproj
@@ -100,7 +100,6 @@
6F19829920086D480063DB8B /* Frameworks */,
6F19829A20086D480063DB8B /* Resources */,
3E4C549477D315DF8AAEEFB7 /* [CP] Embed Pods Frameworks */,
- FC11C35F602FC4A35A6FD36E /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@@ -118,7 +117,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
- LastUpgradeCheck = 0920;
+ LastUpgradeCheck = 1000;
ORGANIZATIONNAME = icaksama;
TargetAttributes = {
6F19829B20086D480063DB8B = {
@@ -195,21 +194,6 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
- FC11C35F602FC4A35A6FD36E /* [CP] Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "[CP] Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iProgressHUDDemo/Pods-iProgressHUDDemo-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -258,6 +242,7 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@@ -265,6 +250,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -292,7 +278,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.2;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -315,6 +301,7 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@@ -322,6 +309,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -343,7 +331,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.2;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -357,12 +345,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = 84724763J4;
+ DEVELOPMENT_TEAM = 2PCWUK34TW;
INFOPLIST_FILE = iProgressHUDDemo/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.icaksama.iProgressHUDDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 4.0;
+ SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
@@ -373,12 +361,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = 84724763J4;
+ DEVELOPMENT_TEAM = 2PCWUK34TW;
INFOPLIST_FILE = iProgressHUDDemo/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.icaksama.iProgressHUDDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 4.0;
+ SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
diff --git a/iProgressHUDDemo/iProgressHUDDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/iProgressHUDDemo/iProgressHUDDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/iProgressHUDDemo/iProgressHUDDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/iProgressHUDDemo/iProgressHUDDemo/AppDelegate.swift b/iProgressHUDDemo/iProgressHUDDemo/AppDelegate.swift
index 5ac8ef4..35403fc 100644
--- a/iProgressHUDDemo/iProgressHUDDemo/AppDelegate.swift
+++ b/iProgressHUDDemo/iProgressHUDDemo/AppDelegate.swift
@@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
- func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}