Skip to content

Commit b1562d1

Browse files
Merge pull request #28 from SaskTel-International/master
Add support for Carthage
2 parents 87cff0f + 842b744 commit b1562d1

26 files changed

+421
-123
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ SSSpinnerButton is an elegant button with a different spinner animations.
3333
-
3434
import UIKit
3535
import SSSpinnerButton
36+
37+
**Carthage**
38+
39+
Add `github simformsolutions/SSSpinnerButton` to your project's Cartfile
3640

3741
**Manually**
3842
- Download and drop **SSSpinnerButton** folder in your project.

SSSpinnerButton/Assets.xcassets/AppIcon.appiconset/Contents.json renamed to SSSpinnerButton Demo/Assets.xcassets/AppIcon.appiconset/Contents.json

File renamed without changes.
File renamed without changes.

SSSpinnerButton/Base.lproj/Main.storyboard renamed to SSSpinnerButton Demo/Base.lproj/Main.storyboard

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

SSSpinnerButton Demo/Info.plist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>$(CURRENT_PROJECT_VERSION)</string>
21+
<key>UILaunchStoryboardName</key>
22+
<string>LaunchScreen</string>
23+
<key>UIMainStoryboardFile</key>
24+
<string>Main</string>
25+
</dict>
26+
</plist>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import UIKit
10+
import SSSpinnerButton
1011

1112
class ViewController: UIViewController {
1213

SSSpinnerButton.podspec

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ Pod::Spec.new do |s|
2424
s.ios.deployment_target = "10.0"
2525
s.swift_version = '5.0'
2626

27-
2827
s.source = { :git => "https://github.com/simformsolutions/SSSpinnerButton.git", :tag => "#{s.version}" }
2928
#s.source = { :path => ".", :tag => "#{s.version}" }
3029

31-
s.source_files = 'SSSpinnerButton/SSSpinnerButton/**/*.swift'
32-
# s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
30+
s.source_files = 'SSSpinnerButton/**/*.swift'
31+
#s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
3332
s.documentation_url = 'docs/index.html'
3433

35-
36-
3734
end

SSSpinnerButton.xcodeproj/project.pbxproj

Lines changed: 274 additions & 80 deletions
Large diffs are not rendered by default.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1020"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "07FAD28622A0668800FC1F9E"
18+
BuildableName = "SSSpinnerButton.framework"
19+
BlueprintName = "SSSpinnerButton"
20+
ReferencedContainer = "container:SSSpinnerButton.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
34+
</TestAction>
35+
<LaunchAction
36+
buildConfiguration = "Debug"
37+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39+
launchStyle = "0"
40+
useCustomWorkingDirectory = "NO"
41+
ignoresPersistentStateOnLaunch = "NO"
42+
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
44+
allowLocationSimulation = "YES">
45+
<MacroExpansion>
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "07FAD28622A0668800FC1F9E"
49+
BuildableName = "SSSpinnerButton.framework"
50+
BlueprintName = "SSSpinnerButton"
51+
ReferencedContainer = "container:SSSpinnerButton.xcodeproj">
52+
</BuildableReference>
53+
</MacroExpansion>
54+
<AdditionalOptions>
55+
</AdditionalOptions>
56+
</LaunchAction>
57+
<ProfileAction
58+
buildConfiguration = "Release"
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
debugDocumentVersioning = "YES">
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "07FAD28622A0668800FC1F9E"
67+
BuildableName = "SSSpinnerButton.framework"
68+
BlueprintName = "SSSpinnerButton"
69+
ReferencedContainer = "container:SSSpinnerButton.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
</ProfileAction>
73+
<AnalyzeAction
74+
buildConfiguration = "Debug">
75+
</AnalyzeAction>
76+
<ArchiveAction
77+
buildConfiguration = "Release"
78+
revealArchiveInOrganizer = "YES">
79+
</ArchiveAction>
80+
</Scheme>

0 commit comments

Comments
 (0)