diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ae890d..022ef40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ This document lists changes made to this project for each new version. +## 2.0 +* Added the feature to center the activity indicator in the superview using autolayout constraints. + ## 1.2.1 * Fixed an error that prevented the framework to build. diff --git a/JLActivityIndicator.podspec b/JLActivityIndicator.podspec index 5a6bcb8..9ffb028 100644 --- a/JLActivityIndicator.podspec +++ b/JLActivityIndicator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'JLActivityIndicator' - s.version = '1.2.1' + s.version = '2.0' s.summary = 'An iOS Activity Indicator Capable of Drawing Custom Paths!' s.description = 'This activity indicator allows you to supply any image or UIBezierPath to the indicator, creating amazing loading effects!' diff --git a/JLActivityIndicator/Info.plist b/JLActivityIndicator/Info.plist index c701d98..7dc13fc 100644 --- a/JLActivityIndicator/Info.plist +++ b/JLActivityIndicator/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.2 + 2.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/JLActivityIndicator/JLUtilities.swift b/JLActivityIndicator/JLUtilities.swift index 7e15624..77eb87e 100644 --- a/JLActivityIndicator/JLUtilities.swift +++ b/JLActivityIndicator/JLUtilities.swift @@ -11,7 +11,8 @@ import Foundation class JLUtilities { /** - * Helper method to center a subview inside a superview. + * Helper method to center a subview inside a superview through the use of + * Autolayout constraints. * - parameter parentview: The parent view to center the `subivew` inside. * - parameter subview: The subvicew to be centered inside the `parentview`. */ diff --git a/README.MD b/README.MD index 2447a3e..855f624 100644 --- a/README.MD +++ b/README.MD @@ -8,7 +8,7 @@ A replacement for the build-in `UIActivityIndicator` on iOS. Supply a custom ima ### Cocoapods -Cocoapods is a dependency manager for Cocoa projects. Make your to install it before executing the following: +Cocoapods is a dependency manager for Cocoa projects. Make sure to install it before executing the following: To install `JLActivityIndicator`, add the following to your `Podfile`: