Skip to content

Commit 359c6b8

Browse files
authored
IOS-2025 :: MJ Harmony :: Feature Internal :: Improve README in Harmony-Swift (mobilejazz#49)
1 parent bdc8b62 commit 359c6b8

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

README.md

+20-5
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
</p>
2020

2121
<p align="center">
22-
<a href="https://travis-ci.org/mobilejazz/harmony-ios"><img alt="CI Status" src="http://img.shields.io/travis/mobilejazz/harmony-ios.svg?style=flat)"></a>
23-
<a href="http://cocoapods.org/pods/Harmony"><img alt="Version" src="https://img.shields.io/cocoapods/v/Harmony.svg?style=flat"></a>
24-
<a href="http://cocoapods.org/pods/Harmony"><img alt="License" src="https://img.shields.io/cocoapods/l/Harmony.svg?style=flat"></a>
25-
<a href="http://cocoapods.org/pods/Harmony"><img alt="Platform" src="https://img.shields.io/cocoapods/p/Harmony.svg?style=flat"></a>
22+
<a href="https://img.shields.io/badge/Platforms-macOS_iOS-yellowgreen?style=flat-square"><img alt="Supported platforms" src="https://img.shields.io/badge/Platforms-macOS_iOS-yellowgreen?style=flat-square"></a>
23+
<a href="https://img.shields.io/cocoapods/v/Harmony.svg"><img alt="Harmony Cocoapods" src="https://cocoapods.org/pods/Harmony"></a>
24+
<a href="https://github.com/Carthage/Carthage"><img alt="Carthage Compatible" src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat-square"></a>
25+
<a href="https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square"><img alt="SPM Compatible" src="https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square"></a>
26+
<a href="https://twitter.com/mobilejazzcom"><img alt="Mobile Jazz twitter" src="https://img.shields.io/badge/[email protected]?style=flat-square"></a>
27+
<a href="https://github.com/mobilejazz/harmony-swift/blob/master/LICENSE"><img alt="GitHub license" src="https://img.shields.io/github/license/mobilejazz/harmony-swift"></a>
2628
</p>
2729
</p>
2830

@@ -40,7 +42,9 @@ it, simply add the following line to your Podfile:
4042
```ruby
4143
pod 'Harmony', '~> 2.0.2'
4244
```
45+
4346
For unit test, you can use the following pod:
47+
4448
```ruby
4549
pod 'HarmonyTesting', '~> 2.0.2'
4650
```
@@ -60,6 +64,7 @@ dependencies: [
6064
.package(url: "https://github.com/mobilejazz/harmony-swift", .upToNextMajor(from: "2.0.2"))
6165
]
6266
```
67+
6368
This package includes two libraries: `Harmony` and `HarmonyTesting`.
6469

6570
## Development
@@ -70,11 +75,21 @@ First of all, run to resolve the dependencies.
7075
carthage update --use-xcframeworks --platform [iOS|macOS] --no-use-binaries
7176
```
7277

78+
The development of the library is done using Carthage. For this, we use the .xcodeproj. Including the unit tests.
79+
80+
If we want to use the Example for Harmony development, open Example/Harmony.xcworkspace. Example uses Cocoapods to resolve the dependency on Harmony. Any new dependencies must be added in the Harmony **.podsec**. This way it will be available for both development and distribution of the library. Later, we must add the dependencies in Carthage and SPM as well.
81+
82+
Any dependencies used for Example development, for example Kingfisher for downloading images, must be added in the Podfile and not in the .podspec.
83+
84+
#### Important!
85+
86+
All the new dependencies must be added in all the package managers we support (Carthage, Cocoapods and SPM).
87+
7388
## Author
7489

7590
Mobile Jazz, [email protected]
7691

77-
## API Reference
92+
## API Reference
7893

7994
[https://harmony.mobilejazz.com/docs/introduction](https://harmony.mobilejazz.com/docs/introduction)
8095

0 commit comments

Comments
 (0)