-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add podspec Co-authored-by: Aditya Ayyakad <[email protected]>
- Loading branch information
1 parent
17f470d
commit 47e1bab
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'ComposableArchitecture' | ||
s.version = '0.8.0' | ||
s.summary = 'A RxSwift fork of The Composable Architecture.' | ||
|
||
s.description = <<-DESC | ||
Point-Free’s The Composable Architecture uses Apple's Combine framework as the basis of its Effect type. Unfortunately, Combine is only available on iOS 13 and macOS 10.15 and above. In order to be able to use it with earlier versions of the OSes, this fork has adapted The Composable Architecture to use RxSwift as the basis for the Effect type. Much of this work was also inspired by the wonderful ReactiveSwift port of this project as well. | ||
DESC | ||
|
||
s.homepage = 'https://github.com/dannyhertz/rxswift-composable-architecture' | ||
s.author = { 'Danny Hertz' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/dannyhertz/rxswift-composable-architecture.git', :tag => s.version.to_s } | ||
s.license = { :type => 'MIT' } | ||
|
||
s.ios.deployment_target = '12.0' | ||
s.swift_version = '5.2' | ||
|
||
s.source_files = 'Sources/ComposableArchitecture/**/*.swift' | ||
|
||
s.dependency 'CasePaths' | ||
s.dependency 'Overture' | ||
s.dependency 'RxSwift', '~> 5.1.1' | ||
s.dependency 'RxRelay' | ||
s.xcconfig = { 'ENABLE_BITCODE' => 'NO' } | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -436,6 +436,13 @@ You can add ComposableArchitecture to an Xcode project by adding it as a package | |
- If you have a single application target that needs access to the library, then add **ComposableArchitecture** directly to your application. | ||
- If you want to use this library from multiple targets you must create a shared framework that depends on **ComposableArchitecture** and then depend on that framework in all of your targets. For an example of this, check out the [Tic-Tac-Toe](./Examples/TicTacToe) demo application, which splits lots of features into modules and consumes the static library in this fashion using the **TicTacToeCommon** framework. | ||
|
||
### Cocoapods | ||
|
||
You will need to add this to your Podfile: | ||
``` | ||
pod 'ComposableArchitecture', :git => '[email protected]:dannyhertz/rxswift-composable-architecture.git' | ||
``` | ||
## Help | ||
If you want to discuss the Composable Architecture or have a question about how to use it to solve a particular problem, ask around on [its Swift forum](https://forums.swift.org/c/related-projects/swift-composable-architecture). | ||
|