Swiftpack.co -  DevYeom/ModernRIBs as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
DevYeom/ModernRIBs
Uber's RIBs with Combine.
.package(url: "https://github.com/DevYeom/ModernRIBs.git", from: "1.0.1")

ModernRIBs

License Cocoapods Compatible Swift Package Manager compatible

ModernRIBs is recreated by removing additional dependencies such as RxSwift from Uber's RIBs. Only Combine was used. All features provided by RIBs can be used identically, and it will be continuously updated according to the RIBs updated version. Therefore, the version will be matched with the RIBs. It is expected to be useful in projects that do not use RxSwift and with a minimum supported iOS 13 or later.

Requirements

  • iOS 13.0 or later
  • macOS 10.15 or later
  • Xcode 11.0 or later

Installation

There are three ways to use ModernRIBs in your project:

  • Using CocoaPods
  • Using Swift Package Manager
  • Manual install (build frameworks or embed Xcode Project)

CocoaPods

To integrate ModernRIBs into your project add the following to your Podfile:

pod 'ModernRIBs'

Swift Package Manager

To use Swift Package Manager, you should use Xcode 11+ to open your project. Click File -> Swift Packages -> Add Package Dependency, enter ModernRIBs URL. Or you can login Xcode with your GitHub account and just type ModernRIBs to search.

After select the package, you can choose the dependency type (tagged version, branch or commit). Then Xcode will setup all the stuff for you.

If you're a framework author and use ModernRIBs as a dependency, update your Package.swift file:

let package = Package(
    // ...
    dependencies: [
        .package(url: "https://github.com/DevYeom/ModernRIBs.git", from: "1.0.0")
    ],
    // ...
)

Tooling

Run the install-xcode.template.sh shell script to copy the templates to the Xcode templates folder. Once you have successfully copied the templates, when adding a new file in Xcode, the ModernRIB group will show up.

License

ModernRIBs is released under the same Apache License 2.0 as Uber's RIBs. See License.txt for more information.

GitHub

link
Stars: 40
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

1.0.1
4 weeks ago

This version matches the 0.11.2 version of Uber's RIBs. There's no changes between 0.11.1 and 0.11.2.

Fixed

  • Exclude info.plist in Package.swift for removing SPM warnings.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics