Skip to content

Commit

Permalink
Version 1.1.1: Added Carthage Support
Browse files Browse the repository at this point in the history
  • Loading branch information
ljw980105 committed Aug 29, 2018
1 parent 644d701 commit 9efdb3c
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 6 deletions.
2 changes: 1 addition & 1 deletion JLActivityIndicator.podspec
Original file line number Diff line number Diff line change
@@ -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!'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1000"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D038E62116334C0052CF9A"
BuildableName = "JLActivityIndicator.framework"
BlueprintName = "JLActivityIndicator"
ReferencedContainer = "container:JLActivityIndicator.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D038E62116334C0052CF9A"
BuildableName = "JLActivityIndicator.framework"
BlueprintName = "JLActivityIndicator"
ReferencedContainer = "container:JLActivityIndicator.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D038E62116334C0052CF9A"
BuildableName = "JLActivityIndicator.framework"
BlueprintName = "JLActivityIndicator"
ReferencedContainer = "container:JLActivityIndicator.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<dict>
<key>SchemeUserState</key>
<dict>
<key>JLActivityIndicator.xcscheme</key>
<key>JLActivityIndicator.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>4</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion JLActivityIndicator/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>1.1.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
10 changes: 8 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 9efdb3c

Please sign in to comment.