Remove ios to prep for separate repos
@@ -1 +0,0 @@
|
||||
5.0
|
||||
@@ -1,34 +0,0 @@
|
||||
jobs:
|
||||
include:
|
||||
- language: objective-c
|
||||
os: osx
|
||||
osx_image: xcode11.2
|
||||
env:
|
||||
- LC_CTYPE=en_US.UTF-8
|
||||
- LANG=en_US.UTF-8
|
||||
- IOS_VER=13.2.2
|
||||
- IOS_SDK=iphonesimulator13.2
|
||||
- SIMULATOR_NAME="iPhone 8"
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/Carthage
|
||||
|
||||
script:
|
||||
- set -o pipefail
|
||||
- carthage version
|
||||
- carthage update --platform iOS
|
||||
- cd ios
|
||||
- xcodebuild -version
|
||||
- xcodebuild -showsdks
|
||||
- instruments -s devices
|
||||
- xcodebuild -scheme "RIBs" -destination "OS=$IOS_VER,name=$SIMULATOR_NAME" -sdk "$IOS_SDK" -configuration Release clean build | xcpretty -c;
|
||||
- xcodebuild -scheme "RIBs" -destination "OS=$IOS_VER,platform=iOS Simulator,name=$SIMULATOR_NAME" -sdk "$IOS_SDK" -configuration Debug clean build test | xcpretty -c;
|
||||
|
||||
branches:
|
||||
except:
|
||||
- gh-pages
|
||||
- assets
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
@@ -1,27 +0,0 @@
|
||||
// swift-tools-version:5.1
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "RIBs",
|
||||
platforms: [
|
||||
.iOS(.v9),
|
||||
],
|
||||
products: [
|
||||
.library(name: "RIBs", targets: ["RIBs"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/ReactiveX/RxSwift", from: "6.0.0"),
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "RIBs",
|
||||
dependencies: ["RxSwift", "RxRelay"],
|
||||
path: "ios/RIBs"
|
||||
),
|
||||
.testTarget(
|
||||
name: "RIBsTests",
|
||||
dependencies: ["RIBs"],
|
||||
path: "ios/RIBsTests"
|
||||
),
|
||||
]
|
||||
)
|
||||
@@ -5,8 +5,8 @@
|
||||
[](https://github.com/uber/RIBs/actions/workflows/android.yml)
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://search.maven.org/artifact/com.uber.rib/rib-android)
|
||||
[](https://cocoapods.org/pods/ribs)
|
||||
[](https://github.com/Carthage/Carthage)
|
||||
|
||||
> ⚠️ **Alert:** RIBs for IOS has been has been moved to a [separate repo](github.com/uber/ribs-ios)
|
||||
|
||||
RIBs is the cross-platform architecture framework behind many mobile apps at Uber. The name RIBs is short for Router, Interactor and Builder, which are core components of this architecture. This framework is designed for mobile apps with a large number of engineers and nested states.
|
||||
|
||||
@@ -56,27 +56,10 @@ dependencies {
|
||||
```
|
||||
There are a number of extension packages available as well including Kotlin extensions, Jetpack Compose support, Coroutines support
|
||||
|
||||
|
||||
## Installation for iOS
|
||||
#### CocoaPods
|
||||
|
||||
To integrate RIBs into your project add the following to your `Podfile`:
|
||||
|
||||
```ruby
|
||||
pod 'RIBs', '~> 0.9'
|
||||
```
|
||||
|
||||
#### Carthage
|
||||
|
||||
To integrate RIBs into your project using Carthage add the following to your `Cartfile`:
|
||||
|
||||
```ruby
|
||||
github "uber/RIBs" ~> 0.9
|
||||
```
|
||||
|
||||
## Related projects
|
||||
|
||||
If you like RIBs, check out other related open source projects from our team:
|
||||
- [RIBs-iOS](github.com/uber/ribs-ios): The iOS version of RIBs
|
||||
- [Needle](https://github.com/uber/needle): a compile-time safe Swift dependency injection framework.
|
||||
- [Motif](https://github.com/uber/motif): An abstract on top of Dagger offering simpler APIs for nested scopes.
|
||||
- [Swift Concurrency](https://github.com/uber/swift-concurrency): a set of concurrency utility classes used by Uber, inspired by the equivalent [java.util.concurrent](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/package-summary.html) package classes.
|
||||
|
||||
@@ -13,21 +13,3 @@ Android
|
||||
7. Update the `gradle.properties` to the next SNAPSHOT version.
|
||||
8. `git commit -am "Prepare next development version."`
|
||||
9. `git push && git push --tags`
|
||||
|
||||
iOS
|
||||
---
|
||||
|
||||
Releasing
|
||||
=========
|
||||
|
||||
Note: This may vary based on your distribution mechanism. Assuming CocoaPods:
|
||||
|
||||
1. Change the version in `Name.podspec` to reflect a new version.
|
||||
2. Update the `CHANGELOG.md` for the impending release.
|
||||
3. Update the `README.md` with the new version.
|
||||
4. Verify formatting with swiftlint (swiftformat.sh)
|
||||
5. `git commit -am "Release X.Y.Z."` (where X.Y.Z is the new version)
|
||||
6. `git tag "X.Y.Z"` (where X.Y.Z is the new version)
|
||||
7. `git push --tags`
|
||||
8. `pod trunk push Name.podspec`
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'RIBs'
|
||||
s.version = '0.9.3'
|
||||
s.summary = 'Uber\'s cross-platform mobile architecture.'
|
||||
s.description = <<-DESC
|
||||
RIBs is the cross-platform architecture behind many mobile apps at Uber. This architecture framework is designed for mobile apps with a large number of engineers and nested states.
|
||||
DESC
|
||||
s.homepage = 'https://github.com/uber/RIBs'
|
||||
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE.txt' }
|
||||
s.author = { 'uber' => 'mobile-open-source@uber.com' }
|
||||
s.source = { :git => 'https://github.com/uber/RIBs.git', :tag => 'v' + s.version.to_s }
|
||||
s.ios.deployment_target = '9.0'
|
||||
s.source_files = 'ios/RIBs/Classes/**/*'
|
||||
s.dependency 'RxSwift', '~> 6.5.0'
|
||||
s.dependency 'RxRelay', '~> 6.5.0'
|
||||
end
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |