From 9efdb3c081c165a7acee7b2330963b5759da07ab Mon Sep 17 00:00:00 2001 From: Jing Wei Li Date: Wed, 29 Aug 2018 16:56:13 -0400 Subject: [PATCH] Version 1.1.1: Added Carthage Support --- JLActivityIndicator.podspec | 2 +- .../xcschemes/JLActivityIndicator.xcscheme | 80 +++++++++++++++++++ .../xcschemes/xcschememanagement.plist | 4 +- JLActivityIndicator/Info.plist | 2 +- README.MD | 10 ++- 5 files changed, 92 insertions(+), 6 deletions(-) create mode 100644 JLActivityIndicator.xcodeproj/xcshareddata/xcschemes/JLActivityIndicator.xcscheme diff --git a/JLActivityIndicator.podspec b/JLActivityIndicator.podspec index 9856dc6..7b57f15 100644 --- a/JLActivityIndicator.podspec +++ b/JLActivityIndicator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'JLActivityIndicator' - s.version = '1.1' + s.version = '1.1.1' 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.xcodeproj/xcshareddata/xcschemes/JLActivityIndicator.xcscheme b/JLActivityIndicator.xcodeproj/xcshareddata/xcschemes/JLActivityIndicator.xcscheme new file mode 100644 index 0000000..e0ed07a --- /dev/null +++ b/JLActivityIndicator.xcodeproj/xcshareddata/xcschemes/JLActivityIndicator.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JLActivityIndicator.xcodeproj/xcuserdata/jingweili.xcuserdatad/xcschemes/xcschememanagement.plist b/JLActivityIndicator.xcodeproj/xcuserdata/jingweili.xcuserdatad/xcschemes/xcschememanagement.plist index 109b10d..e18ebdf 100644 --- a/JLActivityIndicator.xcodeproj/xcuserdata/jingweili.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/JLActivityIndicator.xcodeproj/xcuserdata/jingweili.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,10 +4,10 @@ SchemeUserState - JLActivityIndicator.xcscheme + JLActivityIndicator.xcscheme_^#shared#^_ orderHint - 4 + 0 diff --git a/JLActivityIndicator/Info.plist b/JLActivityIndicator/Info.plist index 37719e8..31683f6 100644 --- a/JLActivityIndicator/Info.plist +++ b/JLActivityIndicator/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1 + 1.1.1 CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/README.MD b/README.MD index ba4b2ad..5b2603b 100644 --- a/README.MD +++ b/README.MD @@ -22,7 +22,13 @@ pod install ### Carthage -Coming soon! +[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate `JLActivityIndicator` into your Xcode project using Carthage, specify it in your `Cartfile`: + +```shell +github "ljw980105/JLActivityIndicator" +``` + +Run `carthage bootstrap` to build the framework in your repository's Carthage directory. ## Usage @@ -60,7 +66,7 @@ Supply custom `UIBezierPath` objects, and the code will draw one or many custom ```swift // The code below produces the circular animation with the red color, as shown in the beginning. let spinner = JLActivityIndicator(on: view, mode: .path) -spinner.paths = [JLBezierPath(strokeColor: UIColor.red, strokePath: UIBezierPath(ovalIn: CGRect(x: 0, y: 0, width: 100, height: 100)))], +spinner.paths = [JLBezierPath(strokeColor: UIColor.red, strokePath: UIBezierPath(ovalIn: CGRect(x: 0, y: 0, width: 60, height: 60)))], spinner.size = CGSize(width: 60, height: 60) spinner.start() DispatchQueue.global(qos: .userInitiated).async {