Skip to content

Commit

Permalink
Update Zen example project 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimEbrahemAbdelaziz committed Apr 8, 2020
1 parent 04677fa commit 06e2a63
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 24 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a href="https://github.com/KarimEbrahemAbdelaziz/Zen">
<img src="http://img.shields.io/badge/Swift Package Manager-available-green.svg?style=flat" alt="Swift Package Manager" />
</a>
<img src="http://img.shields.io/badge/version-0.1.3-green.svg?style=flat" alt="Version" />
<img src="http://img.shields.io/badge/version-0.1.4-green.svg?style=flat" alt="Version" />
<br>
<a href="https://www.facebook.com/KarimEbrahemAbdelaziz">
<img src="http://img.shields.io/badge/facebook-%40KarimEbrahemAbdelaziz-70a1fb.svg?style=flat" alt="Facebook: @KarimEbrahemAbdelaziz" />
Expand Down Expand Up @@ -56,15 +56,15 @@ Zen is simple yet powerfull Networking library for iOS. It leverage the powerful
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Zen into your Xcode project using CocoaPods, specify it in your `Podfile`:

```ruby
pod 'Zen', '~> 0.1.3'
pod 'Zen', '~> 0.1.4'
```

### Carthage

[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Zen into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "KarimEbrahemAbdelaziz/Zen" ~> 0.1.3
github "KarimEbrahemAbdelaziz/Zen" ~> 0.1.4
```

### SPM
Expand All @@ -75,7 +75,7 @@ Once you have your Swift package set up, adding Zen as a dependency is as easy a

```swift
dependencies: [
.package(url: "https://github.com/KarimEbrahemAbdelaziz/Zen.git", .upToNextMajor(from: "0.1.3"))
.package(url: "https://github.com/KarimEbrahemAbdelaziz/Zen.git", .upToNextMajor(from: "0.1.4"))
]
```

Expand Down
2 changes: 1 addition & 1 deletion Zen.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Zen'
s.version = '0.1.3'
s.version = '0.1.4'
s.summary = 'Zero Effort Networking Library in Swift.'

# This description is used to generate tags and improve search results.
Expand Down
48 changes: 29 additions & 19 deletions Zen/Zen.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
objects = {

/* Begin PBXBuildFile section */
BC5E68BB243CE39B00D2FF20 /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = BC5E68BA243CE39B00D2FF20 /* Alamofire */; };
BC5E68BD243CE3D600D2FF20 /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = BC5E68BC243CE3D600D2FF20 /* Alamofire */; };
BC27B52B243D60C1005E6E0E /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BCC88A65243C1CF10087AFAB /* Alamofire.framework */; };
BC27B52C243D60C1005E6E0E /* Alamofire.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BCC88A65243C1CF10087AFAB /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
BC27B530243D617C005E6E0E /* Zen in Frameworks */ = {isa = PBXBuildFile; productRef = BC27B52F243D617C005E6E0E /* Zen */; };
BCC88A5A243C12090087AFAB /* Zen.h in Headers */ = {isa = PBXBuildFile; fileRef = BCC88A58243C12090087AFAB /* Zen.h */; settings = {ATTRIBUTES = (Public, ); }; };
BCC88A63243C125F0087AFAB /* GET.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCC88A62243C125F0087AFAB /* GET.swift */; };
BCC88A70243C1D0F0087AFAB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCC88A6F243C1D0F0087AFAB /* AppDelegate.swift */; };
Expand All @@ -21,6 +22,20 @@
BCC88A87243C1D4C0087AFAB /* Todo.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCC88A86243C1D4C0087AFAB /* Todo.swift */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
BC27B52D243D60C1005E6E0E /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
BC27B52C243D60C1005E6E0E /* Alamofire.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
BCC88A55243C12090087AFAB /* Zen.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Zen.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BCC88A58243C12090087AFAB /* Zen.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Zen.h; sourceTree = "<group>"; };
Expand All @@ -44,15 +59,15 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
BC5E68BD243CE3D600D2FF20 /* Alamofire in Frameworks */,
BC27B52B243D60C1005E6E0E /* Alamofire.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
BCC88A6A243C1D0F0087AFAB /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
BC5E68BB243CE39B00D2FF20 /* Alamofire in Frameworks */,
BC27B530243D617C005E6E0E /* Zen in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -150,14 +165,14 @@
BCC88A51243C12090087AFAB /* Sources */,
BCC88A52243C12090087AFAB /* Frameworks */,
BCC88A53243C12090087AFAB /* Resources */,
BC27B52D243D60C1005E6E0E /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Zen;
packageProductDependencies = (
BC5E68BC243CE3D600D2FF20 /* Alamofire */,
);
productName = Zen;
productReference = BCC88A55243C12090087AFAB /* Zen.framework */;
Expand All @@ -177,7 +192,7 @@
);
name = ZenExample;
packageProductDependencies = (
BC5E68BA243CE39B00D2FF20 /* Alamofire */,
BC27B52F243D617C005E6E0E /* Zen */,
);
productName = ZenExample;
productReference = BCC88A6D243C1D0F0087AFAB /* ZenExample.app */;
Expand Down Expand Up @@ -212,7 +227,7 @@
);
mainGroup = BCC88A4B243C12090087AFAB;
packageReferences = (
BC5E68B9243CE39B00D2FF20 /* XCRemoteSwiftPackageReference "Alamofire" */,
BC27B52E243D617C005E6E0E /* XCRemoteSwiftPackageReference "Zen" */,
);
productRefGroup = BCC88A56243C12090087AFAB /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -531,26 +546,21 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
BC5E68B9243CE39B00D2FF20 /* XCRemoteSwiftPackageReference "Alamofire" */ = {
BC27B52E243D617C005E6E0E /* XCRemoteSwiftPackageReference "Zen" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Alamofire/Alamofire.git";
repositoryURL = "https://github.com/KarimEbrahemAbdelaziz/Zen.git";
requirement = {
kind = exactVersion;
version = 5.1.0;
kind = upToNextMajorVersion;
minimumVersion = 0.1.3;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
BC5E68BA243CE39B00D2FF20 /* Alamofire */ = {
isa = XCSwiftPackageProductDependency;
package = BC5E68B9243CE39B00D2FF20 /* XCRemoteSwiftPackageReference "Alamofire" */;
productName = Alamofire;
};
BC5E68BC243CE3D600D2FF20 /* Alamofire */ = {
BC27B52F243D617C005E6E0E /* Zen */ = {
isa = XCSwiftPackageProductDependency;
package = BC5E68B9243CE39B00D2FF20 /* XCRemoteSwiftPackageReference "Alamofire" */;
productName = Alamofire;
package = BC27B52E243D617C005E6E0E /* XCRemoteSwiftPackageReference "Zen" */;
productName = Zen;
};
/* End XCSwiftPackageProductDependency section */
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
"revision": "fca036f7aeca07124067cb6e0c12b0ad6359e3d4",
"version": "5.1.0"
}
},
{
"package": "Zen",
"repositoryURL": "https://github.com/KarimEbrahemAbdelaziz/Zen.git",
"state": {
"branch": null,
"revision": "04677faa802ef7f2cde1c79ca36479d9d6d53c23",
"version": "0.1.3"
}
}
]
},
Expand Down

0 comments on commit 06e2a63

Please sign in to comment.