Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9b242e3

Browse files
update
1 parent a50133c commit 9b242e3

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

‎.DS_Store

6 KB
Binary file not shown.

‎README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
# async-http-client-example
2-
1+
# Async/await http client using new concurrency model in Swift
2+
3+
Network layer for creating different set of network requests like GET, POST, PUT, DELETE etc customizable with coders
4+
5+
## Features
6+
- [x] Stand alone package without any dependencies using just Apple's facilities
7+
- [x] Customizable for different requests schemes from classic **CRUD Rest** to what suits to you
8+
- [x] Customizable in term of session
9+
- [x] Customizable in terms of URLSessionTaskDelegate, URLSessionDelegate
10+
- [x] Based on interfaces not implementations
11+
- [x] Customizable with coders You can easily change format from json to xml or text just changing the coder
12+
13+
## SwiftUI example for package
14+
15+
[Async location streamer](https://github.com/The-Igor/async-http-client)
16+
17+
![simulate locations](https://github.com/The-Igor/d3-async-location/blob/main/img/image11.gif)

‎async-http-client-example.xcodeproj/project.pbxproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
785CCDB929A7352800137015 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 785CCDB629A7352800137015 /* ContentView.swift */; };
1515
785CCDBA29A7352800137015 /* TaskDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 785CCDB729A7352800137015 /* TaskDelegate.swift */; };
1616
785CCDBB29A7352800137015 /* ViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 785CCDB829A7352800137015 /* ViewModel.swift */; };
17+
785CCDBE29A735C900137015 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 785CCDBD29A735C900137015 /* README.md */; };
18+
785CCDC329A736D500137015 /* image11.gif in Resources */ = {isa = PBXBuildFile; fileRef = 785CCDC229A736D500137015 /* image11.gif */; };
1719
/* End PBXBuildFile section */
1820

1921
/* Begin PBXFileReference section */
@@ -25,6 +27,8 @@
2527
785CCDB729A7352800137015 /* TaskDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TaskDelegate.swift; sourceTree = "<group>"; };
2628
785CCDB829A7352800137015 /* ViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; };
2729
785CCDBC29A7354A00137015 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
30+
785CCDBD29A735C900137015 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; };
31+
785CCDC229A736D500137015 /* image11.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = image11.gif; sourceTree = "<group>"; };
2832
/* End PBXFileReference section */
2933

3034
/* Begin PBXFrameworksBuildPhase section */
@@ -58,6 +62,8 @@
5862
785CCDA429A7348200137015 /* async-http-client-example */ = {
5963
isa = PBXGroup;
6064
children = (
65+
785CCDBF29A7365C00137015 /* img */,
66+
785CCDBD29A735C900137015 /* README.md */,
6167
785CCDBC29A7354A00137015 /* Info.plist */,
6268
785CCDA529A7348200137015 /* async_http_client_exampleApp.swift */,
6369
785CCDB629A7352800137015 /* ContentView.swift */,
@@ -77,6 +83,14 @@
7783
path = "Preview Content";
7884
sourceTree = "<group>";
7985
};
86+
785CCDBF29A7365C00137015 /* img */ = {
87+
isa = PBXGroup;
88+
children = (
89+
785CCDC229A736D500137015 /* image11.gif */,
90+
);
91+
path = img;
92+
sourceTree = "<group>";
93+
};
8094
/* End PBXGroup section */
8195

8296
/* Begin PBXNativeTarget section */
@@ -141,6 +155,8 @@
141155
isa = PBXResourcesBuildPhase;
142156
buildActionMask = 2147483647;
143157
files = (
158+
785CCDC329A736D500137015 /* image11.gif in Resources */,
159+
785CCDBE29A735C900137015 /* README.md in Resources */,
144160
785CCDAD29A7348200137015 /* Preview Assets.xcassets in Resources */,
145161
785CCDAA29A7348200137015 /* Assets.xcassets in Resources */,
146162
);
2.67 MB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /