Skip to content

Commit 37c5165

Browse files
committed
Add SwiftyJSON
1 parent cfb4ec7 commit 37c5165

File tree

50 files changed

+5765
-1653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+5765
-1653
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ script:
2222
- pod install --project-directory=Example
2323
- xcodebuild -workspace Example/APIKitExt.xcworkspace -scheme "ObjectMapper Sample" CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -c
2424
- xcodebuild -workspace Example/APIKitExt.xcworkspace -scheme "Argo Sample" CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -c
25+
- xcodebuild -workspace Example/APIKitExt.xcworkspace -scheme "SwiftyJSON Sample" CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -c
2526
- xcodebuild -workspace Example/APIKitExt.xcworkspace -scheme "Himotoki Sample" CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -c
2627
- xcodebuild build-for-testing test-without-building -workspace Example/APIKitExt.xcworkspace -scheme "Himotoki Sample Tests" -destination 'name=iPhone 7' | xcpretty -c

APIKitExt.podspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ APIKitExt is a set of useful extension to work with APIKit and libraries such as
3939
ss.dependency "Argo", '4.1.1'
4040
end
4141

42+
s.subspec "SwiftyJSON" do |ss|
43+
ss.source_files = "Sources/Classes/SwiftyJSON/*.swift"
44+
ss.dependency "APIKitExt/Core"
45+
ss.dependency "SwiftyJSON", '3.1.4'
46+
end
47+
4248
s.subspec "RxSwift" do |ss|
4349
ss.source_files = "Sources/Classes/RxSwift/*.swift"
4450
ss.dependency "APIKitExt/Core"

Example/APIKitExt.xcodeproj/project.pbxproj

Lines changed: 231 additions & 6 deletions
Large diffs are not rendered by default.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0820"
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 = "B406BBAA1E2D304500B0D2A4"
18+
BuildableName = "SwiftyJSON Sample.app"
19+
BlueprintName = "SwiftyJSON Sample"
20+
ReferencedContainer = "container:APIKitExt.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+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "B406BBAA1E2D304500B0D2A4"
36+
BuildableName = "SwiftyJSON Sample.app"
37+
BlueprintName = "SwiftyJSON Sample"
38+
ReferencedContainer = "container:APIKitExt.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
<AdditionalOptions>
42+
</AdditionalOptions>
43+
</TestAction>
44+
<LaunchAction
45+
buildConfiguration = "Debug"
46+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+
launchStyle = "0"
49+
useCustomWorkingDirectory = "NO"
50+
ignoresPersistentStateOnLaunch = "NO"
51+
debugDocumentVersioning = "YES"
52+
debugServiceExtension = "internal"
53+
allowLocationSimulation = "YES">
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "B406BBAA1E2D304500B0D2A4"
59+
BuildableName = "SwiftyJSON Sample.app"
60+
BlueprintName = "SwiftyJSON Sample"
61+
ReferencedContainer = "container:APIKitExt.xcodeproj">
62+
</BuildableReference>
63+
</BuildableProductRunnable>
64+
<AdditionalOptions>
65+
</AdditionalOptions>
66+
</LaunchAction>
67+
<ProfileAction
68+
buildConfiguration = "Release"
69+
shouldUseLaunchSchemeArgsEnv = "YES"
70+
savedToolIdentifier = ""
71+
useCustomWorkingDirectory = "NO"
72+
debugDocumentVersioning = "YES">
73+
<BuildableProductRunnable
74+
runnableDebuggingMode = "0">
75+
<BuildableReference
76+
BuildableIdentifier = "primary"
77+
BlueprintIdentifier = "B406BBAA1E2D304500B0D2A4"
78+
BuildableName = "SwiftyJSON Sample.app"
79+
BlueprintName = "SwiftyJSON Sample"
80+
ReferencedContainer = "container:APIKitExt.xcodeproj">
81+
</BuildableReference>
82+
</BuildableProductRunnable>
83+
</ProfileAction>
84+
<AnalyzeAction
85+
buildConfiguration = "Debug">
86+
</AnalyzeAction>
87+
<ArchiveAction
88+
buildConfiguration = "Release"
89+
revealArchiveInOrganizer = "YES">
90+
</ArchiveAction>
91+
</Scheme>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
6+
<true/>
7+
</dict>
8+
</plist>

Example/Podfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ target 'Himotoki Sample' do
2222
end
2323
end
2424

25+
target 'SwiftyJSON Sample' do
26+
pod 'APIKitExt/SwiftyJSON', :path => '../'
27+
pod 'APIKitExt/RxSwift', :path => '../'
28+
end
29+

Example/Podfile.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ PODS:
1515
- APIKitExt/RxSwift (0.0.1):
1616
- APIKitExt/Core
1717
- RxSwift (= 3.0.1)
18+
- APIKitExt/SwiftyJSON (0.0.1):
19+
- APIKitExt/Core
20+
- SwiftyJSON (= 3.1.4)
1821
- Argo (4.1.1):
1922
- Runes (>= 4.0.0)
2023
- Curry (3.0.0)
@@ -25,14 +28,16 @@ PODS:
2528
- RxCocoa (3.0.1):
2629
- RxSwift (~> 3.0)
2730
- RxSwift (3.0.1)
28-
- RxTest (3.0.1):
31+
- RxTest (3.1.0):
2932
- RxSwift (~> 3.0)
33+
- SwiftyJSON (3.1.4)
3034

3135
DEPENDENCIES:
3236
- APIKitExt/Argo (from `../`)
3337
- APIKitExt/Himotoki (from `../`)
3438
- APIKitExt/ObjectMapper (from `../`)
3539
- APIKitExt/RxSwift (from `../`)
40+
- APIKitExt/SwiftyJSON (from `../`)
3641
- Curry (= 3.0.0)
3742
- RxCocoa (~> 3.0)
3843
- RxTest (~> 3.0)
@@ -43,7 +48,7 @@ EXTERNAL SOURCES:
4348

4449
SPEC CHECKSUMS:
4550
APIKit: 7460983f490d3bde6aaaaa4164d18c9865a6f91d
46-
APIKitExt: 97d28a95b8368755ff3f25ae788c710fc6e554c7
51+
APIKitExt: a78249cbb8f6b4eaadb6a90ce99109d147f1dec9
4752
Argo: 014ac072f97462bc1a9b83d302edb351488a532f
4853
Curry: eb3d2c75aec678b3cc7fb2729d2ad6dd121531d1
4954
Himotoki: df74b01035e86e021b7b04a15b033a7fd189b84f
@@ -52,8 +57,9 @@ SPEC CHECKSUMS:
5257
Runes: ff20f163b478ac2c0e18158d6086fd5b1997f983
5358
RxCocoa: 15a52fc590dcc700cb4a690a633b5c5184ce3a78
5459
RxSwift: af5680055c4ad04480189c52d28385b1029493a6
55-
RxTest: 9867e6f3c435af30fbdb44b6d8ec30b78c40b515
60+
RxTest: 661e33b5022682961784da03cf79c175fcc4bd64
61+
SwiftyJSON: c2842d878f95482ffceec5709abc3d05680c0220
5662

57-
PODFILE CHECKSUM: 0a9ee127db953bcbfac0fd1f94599d4509fa8bd7
63+
PODFILE CHECKSUM: 9d86c965ff76a55af464ec29ab16cb523c78dcc1
5864

5965
COCOAPODS: 1.1.1

Example/Pods/Local Podspecs/APIKitExt.podspec.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)