Skip to content

Commit 215d142

Browse files
author
burak.uzunboy
committed
Renamed to UsefulNetworkLayer
1 parent dc3a2ff commit 215d142

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

Package.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@
44
import PackageDescription
55

66
let package = Package(
7-
name: "iOSUsefulNetworkLayer",
7+
name: "UsefulNetworkLayer",
88
platforms: [.iOS(.v10), .tvOS(.v10)],
99
products: [
1010
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1111
.library(
12-
name: "iOSUsefulNetworkLayer",
13-
targets: ["iOSUsefulNetworkLayer"]),
12+
name: "UsefulNetworkLayer",
13+
targets: ["UsefulNetworkLayer"]),
1414
],
1515
dependencies: [
1616
// Dependencies declare other packages that this package depends on.
17-
.package(url: "https://github.com/exozet/iOSCoreUsefulSDK", from: "1.0.5"),
17+
.package(url: "https://github.com/exozet/iOSCoreUsefulSDK", from: "1.1.0"),
1818
],
1919
targets: [
2020
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2121
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2222
.target(
23-
name: "iOSUsefulNetworkLayer",
24-
dependencies: ["iOSCoreUsefulSDK"]),
23+
name: "UsefulNetworkLayer",
24+
dependencies: ["CoreUsefulSDK"]),
2525
// .testTarget(
2626
// name: "iOSUsefulNetworkLayerTests",
2727
// dependencies: ["iOSUsefulNetworkLayer", "iOSCoreUsefulSDK"]),

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# iOSUsefulNetworkLayer
1+
# UsefulNetworkLayer for iOS
22

33
### A most useful Network Layer written for iOS Projects.
44

55
## Installation
66

7-
**iOSUsefulNetworkLayer** uses new Swift Package Manager which is easiest way introduced for iOS projects since from the beginning.
7+
**UsefulNetworkLayer** uses new Swift Package Manager which is easiest way introduced for iOS projects since from the beginning.
88

99
From Xcode simply select `File > Swift Packages > Add Package Dependency...` and paste `https://github.com/exozet/iOSUsefulNetworkLayer` to search field. You can specify rules according to your preferences and you are ready to use.
1010

@@ -166,4 +166,4 @@ Then, in the API configuration, `autoCache` parameter should be set to `true`.
166166
### Operation Queues and priority of the requests
167167
`iOSUsefulNetworkLayer` holds two queues, one is called as `main` and the other one as `background`. In default, all request operations will be handled in the `background` queue unless `isMainOperation` property is set to `true`. It effects resource levels in the system level to use more resources, so requests which should needs to get answered and completed as soon as possible can moved into the `main` queue to use more resources from the system.
168168

169-
In addition, for the each request operation in the same queue will be handled by looking their `priority` specification. In default, all requests are marked as `normal` level, but by using that property more important requests can be moved into top by giving higher priority.
169+
In addition, for the each request operation in the same queue will be handled by looking their `priority` specification. In default, all requests are marked as `normal` level, but by using that property more important requests can be moved into top by giving higher priority.

Sources/iOSUsefulNetworkLayer/NetworkLayer/APIConfiguration.swift renamed to Sources/UsefulNetworkLayer/NetworkLayer/APIConfiguration.swift

File renamed without changes.

Sources/iOSUsefulNetworkLayer/NetworkLayer/NetworkLayer+APIOperation.swift renamed to Sources/UsefulNetworkLayer/NetworkLayer/NetworkLayer+APIOperation.swift

File renamed without changes.

Sources/iOSUsefulNetworkLayer/NetworkLayer/NetworkLayer+Cache.swift renamed to Sources/UsefulNetworkLayer/NetworkLayer/NetworkLayer+Cache.swift

File renamed without changes.

Sources/iOSUsefulNetworkLayer/NetworkLayer/NetworkLayer+CachingTime.swift renamed to Sources/UsefulNetworkLayer/NetworkLayer/NetworkLayer+CachingTime.swift

File renamed without changes.

Sources/iOSUsefulNetworkLayer/NetworkLayer/NetworkLayer.swift renamed to Sources/UsefulNetworkLayer/NetworkLayer/NetworkLayer.swift

File renamed without changes.

Sources/iOSUsefulNetworkLayer/iOSUsefulNetworkLayer.swift renamed to Sources/UsefulNetworkLayer/iOSUsefulNetworkLayer.swift

File renamed without changes.

0 commit comments

Comments
 (0)