• Stars
    star
    966
  • Rank 47,364 (Top 1.0 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 9 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples and resources for RxSwift.

RxSwiftExamples

No Maintenance Intended

Branch master is mostly in Swift 3.0 right now. If you want to see Swift 2.2 version of this repo, please see the swift-2.2 branch.

This repo should be a nice starting point for anyone that wants to start the new adventure called FRP with RxSwift. However, here we also have some references to more advanced examples so that no-one feels unsubscribed 😎

We try to deeply comment our examples, but bear with us if they aren't and if you have any questions just use the contact information on the bottom of the page and ask away!

Tutorials

  1. RxSwift by Examples #1 - The basics. Start your adventure with FRP and RxSwift. This article starts from the basics and shows the example of searching using Rx. Demo.
  2. RxSwift by Examples #2 – Observable and the Bind. Bindings, subjects, variables and stuff. We are observing and we are observed! Demo
  3. RxSwift by Examples #3 - Networking. Networking, Moya, request chaining, optional observers and more!
  4. RxSwift by Examples #4 - Multithreading - observeOn(), subscribeOn(), Driver and more!

Utilites

  1. NSObject-Rx - Handy RxSwift extensions on NSObject, including rx_disposeBag.
  2. ObservableArray-RxSwift - ObservableArray is an array that can emit messages of elements and diffs on it's changing.
  3. Cell+Rx - Handy RxSwift extensions on UITableViewCell and UICollectionViewCell, including rx_reusableDisposeBag.
  4. RxOptional - RxSwift extentions for Swift optionals and "Occupiable" types.
  5. RxExt - Additional operators not found in the core RxSwift distribution.

Extensions to built-in frameworks

  1. RxDataSources - Table and Collection View Data Sources for RxSwift. Example
  2. RxBluetooth - RxBluetooth is a wrapper library to work with RxSwift and CoreBluetooth.
  3. RxSegue - Reactive generic segue, implemented with RxSwift.
  4. RxEasing - RxSwift-based easing library.
  5. RxAction - Abstracts actions to be performed in RxSwift. Example
  6. RxWebKit - RxWebKit is a RxSwift wrapper for WebKit. Example
  7. RxMKMapView - RxMKMapView is a RxSwift wrapper for MKMapView delegate. Example
  8. RxMediaPicker - A reactive wrapper built around UIImagePickerController.
  9. RxViewModel - ReactiveViewModel-esque using RxSwift.
  10. RxGesture - RxSwfit reactive wrapper for view gestures.
  11. RxAppState - RxSwift extensions for UIApplicationDelegate methods to observe changes in your app's state.
  12. RxBluetoothKit - iOS Bluetooth library for RxSwift.
  13. RxMultipeer - RxSwift wrapper for MultipeerConnectivity.

Extensions to external frameworks

  1. RxAlamofire - RxSwift wrapper around the elegant HTTP networking in Swift Alamofire. Example
  2. RxRealm - Rx wrapper for Realm's collection types.
  3. RxNimble - Nimble extensions that making unit testing with RxSwift easier.
  4. RxQueryKit - RxSwift extensions for dealing with QueryKit.
  5. FirebaseRxSwiftExtensions - Extension Methods for Firebase and RxSwift.
  6. ReduxKitRxSwift - RxSwift bindings for ReduxKit.
  7. RxHyperdrive - RxSwift extensions for Hyperdrive, the generic Swift Web API client.
  8. RxBrightFutures - RxSwift wrapper around the Future/Promise library BrightFutures.
  9. RxMoya - RxSwift wrapper for Moya. Example
  10. RxSimpleNoSQL - Reactive extensions for SimpleNoSQL.
  11. RxPermission - RxSwift bindings for Permissions API in iOS.

Examples

  1. RxChat - Chat application also using RxSwift.
  2. RxPagination - Really nice demo for "Protocol-Oriented Programming in Networking", using RxSwift.
  3. RxTestScheduler - Example of how you can use RxSwift's TestScheduler. Unfortunately comments are not in English 😒
  4. RxGitHubAPI - GitHub API example. Unfortunately comments are not in English πŸ˜₯
  5. Parse-RxSwift - A collection of wrapper classes that allow you to use RxSwift Observers in place of Parse's callbacks.
  6. RxSwiftGram - Educational App using RxSwift and MVVM with the Instagram API.

Applications

  1. Eidolon - The Artsy Auction Kiosk App.
  2. Boilerplate - GitHub client using MVVM and RxSwift.
  3. ReactiveWeatherExample - A simple iOS weather app using the MVVM pattern and RxSwift framework.
  4. RxMarbles - RxMarbles iOS app.
  5. CountItApp - Dead simple App with Apple Watch integration that lets you count anything.
  6. WhatFilm - Simple iOS app showing popular films, their cast and crew along with images and links to the trailers.

More

  1. RxSnippets - Several snippets for work with RxSwift
  2. RxSugar - Simple RxSwift extensions for interacting with Apple APIs.
  3. ReactiveCommander - Reactive Command pattern. This one is for RxSwift as well as for ReactiveCocoa.
  4. CollectionVariable - RxSwift Variable for collections that report individual changes in the collection.
  5. RxTwift - A type safe Twitter API client constructed on RxSwift.

Contributing

Feel free to make issues/pull requests if you find something wrong in examples or readme, as well as you can add things you would want to see or you know that are written in RxSwift. Let's make our lives better and help each other!

Author

Sunshinejr, [email protected], @thesunshinejr

License

RxSwiftExamples is available under the MIT license. See the LICENSE file for more info.

More Repositories

1

MPParallaxView

Apple TV Parallax effect in Swift.
Swift
1,742
star
2

flutter-roadmap

Roadmap for Flutter developers in 2020
Dart
430
star
3

jspoon

Annotation based HTML to Java parser + Retrofit converter
Java
320
star
4

Workcation

My Research & Development project I've done at Droids on Roids.
Java
267
star
5

VisionFaceDetection

An example of use a Vision framework for face landmarks detection in iOS 11
Swift
261
star
6

MeasureARKit

An example of measuring app with ARKit in iOS 11
Swift
231
star
7

SwiftCarousel

Lightweight, written natively in Swift, circular UIScrollView.
Swift
143
star
8

Casty

Small Android library that provides a simple media player for Chromecast, fully consistent with Google Cast v3
Java
101
star
9

FlipAnimation-Android

Java
94
star
10

ExampleRealmMVP-Android

Java
66
star
11

GlideSharedTransition

Sample app for Shared Element Transition with Glide
Kotlin
46
star
12

FaceTracking

An example app with AVFoundation camera support and face features tracking
Swift
42
star
13

PageTransformerDemo

Simple example of screen transitions with ViewPager and PageTransformer.
Java
36
star
14

PhotosHelper

Photos Framework in Swift, easiest way.
Swift
35
star
15

let-swift-app

Let Swift Developers Meetup app
Swift
34
star
16

Toast-App

Open source App for TOAST Android developers meetup
Kotlin
34
star
17

android-device-cleaner

Tool for cleaning up Android devices used in QA
Kotlin
28
star
18

android-animation-disabler

Gradle plugin for disabling animations in global settings before UI tests and reenabling them afterwards
Kotlin
27
star
19

SwiftCompressor

SwiftCompressor lets you use Compression framework easily
Shell
24
star
20

RxJavaProductionLine

RxJava example project
Java
23
star
21

StarWarsRosieExample

Example of Rosie framework using The Star Wars API
Java
21
star
22

calculator-unit-and-integration-tests

Java
18
star
23

bitrise-step-flutter

Bitrise step for Flutter
Go
18
star
24

Moya-JASON

JASON bindings for Moya.
Swift
17
star
25

SheetsTranslator

App translation generator using Google Sheets API
Swift
17
star
26

FoQA

Container for Quality Assurance utilities to be included in QA/testing variants of Android apps.
Java
16
star
27

ExampleRealm-Android

Java
11
star
28

mockwebserver-path-dispatcher

A helper for dispatching MockWebServer responses
Kotlin
10
star
29

smoge-flutter

Dart
10
star
30

add-to-google-wallet

Dart
8
star
31

swift-style-guide

Droids on Roids Swift guidelines
8
star
32

SnapchatFiltersView

Snapchat - like swipeable filters for views, photos, videos and live camera preview. Swift.
Shell
8
star
33

StructPersistence

Swift
7
star
34

android-style-guide

Kotlin
7
star
35

BeerApp

Simple introduction to data binding library.
Java
7
star
36

bitrise-step-sonarqube-scanner

Step for running SonarQube Scanner CLI
Shell
6
star
37

multi-window-drop-adjacent

Java
6
star
38

ChartsDemo

Charts demo
Swift
5
star
39

Habit

An easy-to-use library to make repeated notifications simpler
Shell
4
star
40

bitrise-step-openstf-connect

Bitrise step for Open STF devices connection
Go
4
star
41

multi-window-catch

Java
4
star
42

modeltesting

Sample project for blog post
Java
4
star
43

bitrise-step-trigger-bitrise-workflow

Bitrise step for triggering workflow on bitrise.io with specified parameters
Go
4
star
44

MazeSpriteKit

Maze Game with SpriteKit demo
Swift
4
star
45

auth0_rs256_jwt_verifier

Ruby gem for verifying Auth0 API JWT access tokens signed using RS256 algorithm.
Ruby
4
star
46

swift-vs-objc

Swift vs Obj-C performance comparision
Objective-C
4
star
47

fluttrise

Unofficial Bitrise.io client made with Flutter.
Dart
3
star
48

android-font-binder

Annotation-based typeface binding to TextViews
Kotlin
3
star
49

GCMSender

Push notifications sender for Google Cloud Messaging
Swift
3
star
50

SwiftyRouter

SwiftyRouter makes it easy to deal with network connection in Swift
Swift
3
star
51

PlanningPoker-Android

Java
2
star
52

bitrise_set_jira_features

Feature list as jira links to insert in release notes
Shell
2
star
53

TracepathAndroid

C
2
star
54

toast7-hackme

Hackme application for Toast #7
Java
2
star
55

bitrise_step_build_info_jira_comment

Shell
2
star
56

EstimoteBeaconsDemo

The simplest of the simplest examples
Java
2
star
57

android-gradle-aosp-aapt-plugin

Gradle plugin which sets aaptConfig.additional parameters based on environment variables defined by AOSP build system
Groovy
2
star
58

constraint-layout-charts

Java
2
star
59

MemoryLeaksExample

Java
2
star
60

android-runtime-permission-tock-too

Example of Time Of Check To Time Of Use race condition on Android
Kotlin
2
star
61

3DTouchExample

Example of all kinds of 3D Touch support written in Swift 3.0
Swift
2
star
62

compose-guidelines

2
star
63

TwitterLogIn

Swift
1
star
64

homebrew-tools

Ruby
1
star
65

B-VIPER-module-template

Swift
1
star
66

TouchID_swift

Swift
1
star
67

RealmToDo

To-do app with Realm
Swift
1
star
68

flutter-events

Flutter events app
Dart
1
star
69

DORSidebar

Purely Swift sidebar menu
Swift
1
star
70

Unit-and-Integration-Tests-for-Android

Java
1
star
71

DroidsMap

Kotlin
1
star
72

DORDoneHUD

Done animation in Objective-C
Objective-C
1
star
73

HoloGraphLibrary

Fork of HoloGraphLibrary by Daniel Nadeau https://bitbucket.org/danielnadeau/holographlibrary
Java
1
star
74

bitrise-step-chuck-norris

Bitrise step for adding jokes about Chuck Norris to build log
Go
1
star
75

bitrise-step-publish-spoon-results

Bitrise step for publishing Spoon tests results on Github pages
Shell
1
star
76

svg-optimizer

C++
1
star
77

snakeyaml

snakeyaml fork with FIELD bean access
Java
1
star
78

android-aop-demo

AOP demo app
Java
1
star
79

bitrise-step-update-jira-issue-field

Bitrise step for updating JIRA issue fields
Go
1
star
80

DORUIKitDynamics

Sample UIKitDynamics, presented by one of ours iOS Developers
Swift
1
star
81

HipChatGerritHooks

Gerrit hooks sending notifications to HipChat
Python
1
star