Giter Club home page Giter Club logo

rxreachability's People

Contributors

bmoliveira avatar briansemiglia avatar evancooper9 avatar ivanbruel avatar jessemx109 avatar joematt avatar manhpham90vn avatar o-nnerb avatar rbresjer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rxreachability's Issues

Add unit tests

Overview

We have test files, but no real tests in them.

New admin annoucement

Hello everyone,

I've been granted the great honor of administrating this project.

In the past, I've used RxReachability because despite the fact Reachability isn't particularly diffucult to impliment on one's own, and I lean on the side of not adding dependencies for such small code bases, I make exceptions for communities I know I can trust.

I'm grateful to have that trust of the community, and I look forward to keeping this small but vital code base useful and reliable.

Cheers,
Joe

Update Gems

Various gems are out of date causing security warnings.

Update gems.

Carthage support

Dependency "RxReachability" has no shared framework schemes for any of the platforms: iOS

SPM Support

Overview

SPM Support

Reasons

RxReachability is one of the very few Rx dependencies that do not support SPM.

Swiftlint GitHub action

Add a GitHub action to run SwiftLint on pull requests

Requirements

  1. Print in-line warnings on PRs that violate rules
  2. Use the Ubuntu docker image for faster performance (support swift/ruby out of the box)

Optional

  1. swift lint --autocorrect and auto commit changes on PRs as a new commit

Considerations

  1. Autocorrect may be controversial to some. If done as a new commit, easier to review what the bot added

Examples

  1. https://github.com/Provenance-Emu/Provenance/blob/develop/.swiftlint.yml
  2. https://github.com/HeroTransitions/Hero/blob/develop/.swiftlint.yml

RxReachability with Carthage

Hey @bmoliveira .
Thanks for RxReachability!
I have a question about using RxReachability with Carthage. As I see, original Reachability class from SwiftReachability is declared with public visibility. As I am using RxReachability as a Carthage module, I assume that it should be open instead. As a result, I'm able to import RxReachability in my swift file but Reachability.swift itself is not accessible. Would be glad to receive an advice on the topic.

Thanks in advance,
Alex

Moving to RxSwift Community Repository

Hey All! Great library.
It seems that the podspec is not updated and also lacks maintenance in the past few months.

I wondered if you considered moving the project to https://github.com/RxSwiftCommunity so its possibly maintained by an entire community, instead of just a single contributor - thus increasing its visibility and surrounding community.

Thanks for your consideration :)
Shai.

The rx properties looks more like ControlEvents.

For me, I'd like to get the current networking status in the majority of cases rather than the change events.
How about this?
reachabilityChanged .map { $0.connection }.startWith(base.connection)

RxSwift 5 support

This library is requiring RxSwift 4 specifically preventing projects using it to upgrade to RxSwift 5. Please make a major version bump to this library and upgrade it to support RxSwift 5

Conform to git-flow standards

Overview

Currently, everything is merged to master. This is considered bad form imho.

I intend to use a standard git-flow branch naming scheme

Requirements

  1. Create a develop branch
  2. Change the default branch to develop (required to Pull Requests automatically are set to said branch as the base)
  3. Lock pushes to master for everyone
  4. Lock pushes to develop for everyone, require PR checks to pass for merge, allow admins to force push over-ride

2-4 requires I get admin control of this repo, waiting on @freak4pc or whomever else is a current admin to upgrade my ownership rights on this project.

Dependency won't build on Xcode 12.4 using SPM

Describe the bug

While moving all of our dependencies from CocoaPods to SPM, the only library that won't build at the moment is RxReachability, therefore blocking us from moving all of our Rx related dependencies to the SPM.

Problem lies in the underlying dependency to Reachability.swift which does not specify the minimum version. Xcode 12 is now treating iOS8 Target as a warning, so all of SPM modules without clearly defined minimal version is resolving to iOS 9.0.

At the same time, RxReachability have a requirement still pointing to iOS 8 as a minimal version, creating an error while building:

The package product 'Reachability' requires minimum platform version 9.0 for the iOS platform, but this target supports 8.0

To Reproduce

Try to use RxReachability via SPM on Xcode >= 12.4

Expected behavior

I want to use RxReachability via SPM on newest Xcode.

Rename `isConnected` and `isDisconnected` to remove the 'is' prefix

Overview

isConnected and isDisconnected are Observable<Void>, events to assist observing when these events occur.

They are not bool, since they are not to be read as variables, rather as participants in event flow.

I would argue the naming should reflect that fact better by removing is prefix, which ObjC/Swift devs conforming to best practices reserve for bool return types.

Requirements

  1. Create new functionally identical public interfaces with the 'is' prefix removed
  2. Remain backwards public API compatibility (for the time being)

Considerations

  1. Removing them all together would be an api breaking change, requiring a new major version 2.0
  2. Adding a distinctUntilChanged between isReachable and the filter

Discussion

Most likely I will want to see these vars renamed, and convenience legacy vars that transparently return the newly renamed observables.

The current vars should be marked deprecated for a future major version release using swifts @Availability renamed metadata markers.

Carthage Support (v0.38.0)

  • Cartfile
    github "RxSwiftCommunity/RxReachability" ~> 1.2.1

  • Terminal Log

*** Skipped building RxReachability due to the error:
Dependency "RxReachability" has no shared framework schemes for any of the platforms: iOS

cocoa pods update?

Can you please release 1.1.0 to cocoa pods? Currently cocoa pods still depends on ReachabilitySwift 4.3.1
Thanks in advance

Typo in readme

In readme.md: print("Reachability changed: \(reachability.currrentReachabilityStatus)")

Extra r in current.

I have a branch ready for the fix if needed ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.