Skip to content

Commit 88f4034

Browse files
committed
集成AFNetworking
1 parent e46001a commit 88f4034

89 files changed

Lines changed: 12006 additions & 0 deletions

File tree

Some content is hidden

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

KtTableView/KtTableView.xcodeproj/project.pbxproj

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
23BEFFC3FD0E6575D5E56B78 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AFDA0B8A1D36740848D30D13 /* libPods.a */; };
1011
E108B2A71CBE0A2600191E0B /* KtMainTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E108B2A61CBE0A2600191E0B /* KtMainTableViewCell.m */; };
1112
E108B2AB1CBE14C300191E0B /* KtTableViewDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = E108B2AA1CBE14C300191E0B /* KtTableViewDataSource.m */; };
1213
E108B2AE1CBE15D800191E0B /* KtTableViewSectionObject.m in Sources */ = {isa = PBXBuildFile; fileRef = E108B2AD1CBE15D800191E0B /* KtTableViewSectionObject.m */; };
@@ -44,6 +45,9 @@
4445
/* End PBXContainerItemProxy section */
4546

4647
/* Begin PBXFileReference section */
48+
39F19645603938C8EF7DBFD3 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
49+
74A2D569E414911E7538367E /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
50+
AFDA0B8A1D36740848D30D13 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
4751
E108B2A51CBE0A2600191E0B /* KtMainTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KtMainTableViewCell.h; sourceTree = "<group>"; };
4852
E108B2A61CBE0A2600191E0B /* KtMainTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KtMainTableViewCell.m; sourceTree = "<group>"; };
4953
E108B2A91CBE14C300191E0B /* KtTableViewDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KtTableViewDataSource.h; sourceTree = "<group>"; };
@@ -85,6 +89,7 @@
8589
isa = PBXFrameworksBuildPhase;
8690
buildActionMask = 2147483647;
8791
files = (
92+
23BEFFC3FD0E6575D5E56B78 /* libPods.a in Frameworks */,
8893
);
8994
runOnlyForDeploymentPostprocessing = 0;
9095
};
@@ -105,6 +110,15 @@
105110
/* End PBXFrameworksBuildPhase section */
106111

107112
/* Begin PBXGroup section */
113+
69E01484FD4E182CB56A5FE6 /* Pods */ = {
114+
isa = PBXGroup;
115+
children = (
116+
74A2D569E414911E7538367E /* Pods.debug.xcconfig */,
117+
39F19645603938C8EF7DBFD3 /* Pods.release.xcconfig */,
118+
);
119+
name = Pods;
120+
sourceTree = "<group>";
121+
};
108122
E108B2A81CBE148200191E0B /* KtBaseTableViewController */ = {
109123
isa = PBXGroup;
110124
children = (
@@ -131,6 +145,8 @@
131145
E1621E191CBDF267003D9438 /* KtTableViewTests */,
132146
E1621E241CBDF267003D9438 /* KtTableViewUITests */,
133147
E1621DFE1CBDF265003D9438 /* Products */,
148+
69E01484FD4E182CB56A5FE6 /* Pods */,
149+
F71B31402A7F180F563A44F9 /* Frameworks */,
134150
);
135151
sourceTree = "<group>";
136152
};
@@ -201,16 +217,27 @@
201217
name = KtExtension;
202218
sourceTree = "<group>";
203219
};
220+
F71B31402A7F180F563A44F9 /* Frameworks */ = {
221+
isa = PBXGroup;
222+
children = (
223+
AFDA0B8A1D36740848D30D13 /* libPods.a */,
224+
);
225+
name = Frameworks;
226+
sourceTree = "<group>";
227+
};
204228
/* End PBXGroup section */
205229

206230
/* Begin PBXNativeTarget section */
207231
E1621DFC1CBDF265003D9438 /* KtTableView */ = {
208232
isa = PBXNativeTarget;
209233
buildConfigurationList = E1621E2A1CBDF267003D9438 /* Build configuration list for PBXNativeTarget "KtTableView" */;
210234
buildPhases = (
235+
6AAF7A2D573159A8A4997064 /* Check Pods Manifest.lock */,
211236
E1621DF91CBDF265003D9438 /* Sources */,
212237
E1621DFA1CBDF265003D9438 /* Frameworks */,
213238
E1621DFB1CBDF265003D9438 /* Resources */,
239+
9C241BAA28F98CD40C517EAB /* Embed Pods Frameworks */,
240+
F726984500B073E1BC60B240 /* Copy Pods Resources */,
214241
);
215242
buildRules = (
216243
);
@@ -326,6 +353,54 @@
326353
};
327354
/* End PBXResourcesBuildPhase section */
328355

356+
/* Begin PBXShellScriptBuildPhase section */
357+
6AAF7A2D573159A8A4997064 /* Check Pods Manifest.lock */ = {
358+
isa = PBXShellScriptBuildPhase;
359+
buildActionMask = 2147483647;
360+
files = (
361+
);
362+
inputPaths = (
363+
);
364+
name = "Check Pods Manifest.lock";
365+
outputPaths = (
366+
);
367+
runOnlyForDeploymentPostprocessing = 0;
368+
shellPath = /bin/sh;
369+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
370+
showEnvVarsInLog = 0;
371+
};
372+
9C241BAA28F98CD40C517EAB /* Embed Pods Frameworks */ = {
373+
isa = PBXShellScriptBuildPhase;
374+
buildActionMask = 2147483647;
375+
files = (
376+
);
377+
inputPaths = (
378+
);
379+
name = "Embed Pods Frameworks";
380+
outputPaths = (
381+
);
382+
runOnlyForDeploymentPostprocessing = 0;
383+
shellPath = /bin/sh;
384+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n";
385+
showEnvVarsInLog = 0;
386+
};
387+
F726984500B073E1BC60B240 /* Copy Pods Resources */ = {
388+
isa = PBXShellScriptBuildPhase;
389+
buildActionMask = 2147483647;
390+
files = (
391+
);
392+
inputPaths = (
393+
);
394+
name = "Copy Pods Resources";
395+
outputPaths = (
396+
);
397+
runOnlyForDeploymentPostprocessing = 0;
398+
shellPath = /bin/sh;
399+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
400+
showEnvVarsInLog = 0;
401+
};
402+
/* End PBXShellScriptBuildPhase section */
403+
329404
/* Begin PBXSourcesBuildPhase section */
330405
E1621DF91CBDF265003D9438 /* Sources */ = {
331406
isa = PBXSourcesBuildPhase;
@@ -483,6 +558,7 @@
483558
};
484559
E1621E2B1CBDF267003D9438 /* Debug */ = {
485560
isa = XCBuildConfiguration;
561+
baseConfigurationReference = 74A2D569E414911E7538367E /* Pods.debug.xcconfig */;
486562
buildSettings = {
487563
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
488564
INFOPLIST_FILE = KtTableView/Info.plist;
@@ -494,6 +570,7 @@
494570
};
495571
E1621E2C1CBDF267003D9438 /* Release */ = {
496572
isa = XCBuildConfiguration;
573+
baseConfigurationReference = 39F19645603938C8EF7DBFD3 /* Pods.release.xcconfig */;
497574
buildSettings = {
498575
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
499576
INFOPLIST_FILE = KtTableView/Info.plist;

KtTableView/KtTableView.xcworkspace/contents.xcworkspacedata

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

KtTableView/KtTableView/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
"idiom" : "ipad",
6060
"size" : "76x76",
6161
"scale" : "2x"
62+
},
63+
{
64+
"idiom" : "ipad",
65+
"size" : "83.5x83.5",
66+
"scale" : "2x"
6267
}
6368
],
6469
"info" : {

KtTableView/KtTableView/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25+
<key>NSAppTransportSecurity</key>
26+
<dict>
27+
<key>NSAllowsArbitraryLoads</key>
28+
<true/>
29+
</dict>
2530
<key>UILaunchStoryboardName</key>
2631
<string>LaunchScreen</string>
2732
<key>UIMainStoryboardFile</key>

KtTableView/Podfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://github.com/CocoaPods/Specs.git'
2+
platform :ios, '8.0'
3+
4+
pod 'AFNetworking', '~> 3.0'

KtTableView/Podfile.lock

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
PODS:
2+
- AFNetworking (3.1.0):
3+
- AFNetworking/NSURLSession (= 3.1.0)
4+
- AFNetworking/Reachability (= 3.1.0)
5+
- AFNetworking/Security (= 3.1.0)
6+
- AFNetworking/Serialization (= 3.1.0)
7+
- AFNetworking/UIKit (= 3.1.0)
8+
- AFNetworking/NSURLSession (3.1.0):
9+
- AFNetworking/Reachability
10+
- AFNetworking/Security
11+
- AFNetworking/Serialization
12+
- AFNetworking/Reachability (3.1.0)
13+
- AFNetworking/Security (3.1.0)
14+
- AFNetworking/Serialization (3.1.0)
15+
- AFNetworking/UIKit (3.1.0):
16+
- AFNetworking/NSURLSession
17+
18+
DEPENDENCIES:
19+
- AFNetworking (~> 3.0)
20+
21+
SPEC CHECKSUMS:
22+
AFNetworking: 5e0e199f73d8626b11e79750991f5d173d1f8b67
23+
24+
COCOAPODS: 0.39.0

0 commit comments

Comments
 (0)