Harmony is a framework developed by Mobile Jazz that specifies best practices, software architectural patterns and other software development related guidelines.
Documentation
·
Kotlin
·
TypeScript
·
PHP
To run the example project, clone the repo, and run pod install
from the Example directory first.
Harmony is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Harmony', '~> 2.0.2'
For unit test, you can use the following pod:
pod 'HarmonyTesting', '~> 2.0.2'
github "mobilejazz/harmony-swift" "2.0.2"
Resolve dependencies carthage update --use-xcframeworks --platform iOS
and add Harmony.xcframework
to your project. For unit test, add HarmonyTesting.xcframework
in your build phase of your testing target.
dependencies: [
.package(url: "https://github.com/mobilejazz/harmony-swift", .upToNextMajor(from: "2.0.2"))
]
This package includes two libraries: Harmony
and HarmonyTesting
.
First of all, run to resolve the dependencies.
carthage update --use-xcframeworks --platform [iOS|macOS] --no-use-binaries
The development of the library is done using Carthage. For this, we use the .xcodeproj. Including the unit tests.
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.
Any dependencies used for Example development, for example Kingfisher for downloading images, must be added in the Podfile and not in the .podspec.
All the new dependencies must be added in all the package managers we support (Carthage, Cocoapods and SPM).
Mobile Jazz, info@mobilejazz.com
https://harmony.mobilejazz.com/docs/introduction
Harmony is available under the Apache 2.0 license. See the LICENSE file for more info.